#C2BA2F color
The hex color #C2BA2F is a moderate yellow.
In the RGB color model it is made of 76.1% red, 72.9% green and 18.4% blue (194, 186, 47).
Its hue angle is 57°, with 61% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 76% yellow and 24% black.
The closest named color is Pesto (#C1B23E), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.36:1).
#C2BA2F color codes
| HEX | #C2BA2F | |
|---|---|---|
| RGB | rgb(194, 186, 47) | |
| RGB percent | rgb(76.1%, 72.9%, 18.4%) | |
| HSL | hsl(57, 61%, 47%) | |
| HSV / HSB | hsv(57, 76%, 76%) | |
| CMYK | cmyk(0%, 4%, 76%, 24%) | |
| CIE LAB | lab(74.06, -12.48, 66.27) | |
| CIE LCH | lch(74.06, 67.43, 100.67) | |
| CIE XYZ | xyz(40.322, 46.794, 9.597) | |
| Decimal | 12761647 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C2BA2F, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #C2BA2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.36:1 | Pass | Pass | Pass |
| Sample text | 2.03:1 | Fail | Fail | Fail |
| #C2BA2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.36:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #C2BA2F looks to people with the most common types of color vision deficiency.
#cab30dProtanopia
no red cones#ceb93aDeuteranopia
no green cones#d1ada0Tritanopia
no blue cones#b6b6b6Achromatopsia
no color vision
CSS examples
.background { background-color: #c2ba2f; }
.text { color: #c2ba2f; }
.border { border: 2px solid #c2ba2f; }
.transparent { background-color: rgb(194 186 47 / 50%); }
.gradient { background: linear-gradient(to right, #c2ba2f, #80c22f); }
Similar colors
#c1b23ePesto#cec754Salsa Verde#bfac05Muddy Yellow#d9c948Lanky Lemon#d5bc26Indian Pale Ale#b6bd4aSinsemilla#cfb53bOld Gold#afbb33Lush Bamboo
Closest common color name: Dark Khaki.
Questions
- What color is #C2BA2F?
- #C2BA2F is a moderate yellow, closest to the named color Pesto. It belongs to the yellow family of colors.
- What is the RGB value of #C2BA2F?
- The RGB value is 194, 186, 47: 194 red, 186 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #C2BA2F?
- The complementary color is #2F37C2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C2BA2F?
- Black text. Black text has a contrast ratio of 10.36:1 and white text 2.03:1. WCAG asks for at least 4.5:1 for normal text.