#BFA42E#BFA42E
#BFA42E is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.134 H 95.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA42E |
|---|---|
| RGB | rgb(191, 164, 46) |
| HSL | hsl(49, 61%, 46%) |
| HSV | hsv(49, 76%, 75%) |
| CMYK | cmyk(0%, 14.1%, 75.9%, 25.1%) |
| CIE-LAB | lab(67.89, -2.35, 60.78) |
| CIE-LCH | lch(67.89, 60.82, 92.22°) |
| OKLab | oklab(72.25% -0.013 0.1332) |
| OKLCH | oklch(72.25% 0.134 95.6) |
| XYZ | xyz(35.2563, 37.8265, 8.0285) |
| Luminance | 0.3782 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.62
Muddy Yellow
#BFAC05
ΔE00 4.19
Brown Yellow
#B29705
ΔE00 4.22
Brownish Yellow
#C9B003
ΔE00 4.68
Ocre
#C69C04
ΔE00 4.70
Dark Gold
#B59410
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA42E #2E49BF
analogous
#BF5C2E #BFA42E #92BF2E
triadic
#BFA42E #2EBFA4 #A42EBF
tetradic
#BFA42E #2EBF5C #2E49BF #BF2E92
square
#BFA42E #2EBF5C #2E49BF #BF2E92
split-complementary
#BFA42E #2E92BF #5C2EBF
monochromatic
#5C4F16 #8E7A22 #BFA42E #D6BE54 #E2D186
Accessibility & contrast
On white
2.45
#BFA42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#BFA42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA42E
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA42E | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A118
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#CF978D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #bfa42e; /* rgb */ color: rgb(191, 164, 46); /* oklch */ color: oklch(72.2% 0.134 95.6);
Tailwind
colors: {
custom: {
50: '#d6be70',
500: '#bfa42e',
950: '#000000',
},
}SCSS
$custom: #bfa42e; $custom-light: #d6be70; $custom-dark: #000000;
JSON
{
"hex": "#bfa42e",
"rgb": {
"r": 191,
"g": 164,
"b": 46
},
"hsl": {
"h": 48.828,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.72247,
"c": 0.13386,
"h": 95.6
},
"luminance": 0.37825
}Semantic roles & 50–950 ramp
primary
#BFA42E
secondary
#7E8CCB
accent
#61E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B