#B7BA4E#B7BA4E
#B7BA4E is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.131 H 110.6°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BA4E |
|---|---|
| RGB | rgb(183, 186, 78) |
| HSL | hsl(62, 44%, 52%) |
| HSV | hsv(62, 58%, 73%) |
| CMYK | cmyk(1.6%, 0%, 58.1%, 27.1%) |
| CIE-LAB | lab(73.37, -15.40, 53.13) |
| CIE-LCH | lch(73.37, 55.31, 106.16°) |
| OKLab | oklab(76.51% -0.0461 0.1225) |
| OKLCH | oklch(76.51% 0.131 110.6) |
| XYZ | xyz(38.4635, 45.7361, 14.0080) |
| Luminance | 0.4573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.13
Snot
#ACBB0D
ΔE00 5.33
Mustard Green
#A8B504
ΔE00 5.47
Booger
#9BB53C
ΔE00 5.87
Light Olive
#ACBF69
ΔE00 5.89
Sick Green
#9DB92C
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BA4E #514EBA
analogous
#BA874E #B7BA4E #81BA4E
triadic
#B7BA4E #4EB7BA #BA4EB7
tetradic
#B7BA4E #4EBA87 #514EBA #BA4E81
square
#B7BA4E #4EBA87 #514EBA #BA4E81
split-complementary
#B7BA4E #4E81BA #874EBA
monochromatic
#646628 #8F9239 #B7BA4E #C9CB7A #DBDCA6
Accessibility & contrast
On white
2.07
#B7BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#B7BA4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BA4E
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BA4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BA4E | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#C8B654
Tritanopia (blue-blind)
#C3AFA3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b7ba4e; /* rgb */ color: rgb(183, 186, 78); /* oklch */ color: oklch(76.5% 0.131 110.6);
Tailwind
colors: {
custom: {
50: '#cfce84',
500: '#b7ba4e',
950: '#000000',
},
}SCSS
$custom: #b7ba4e; $custom-light: #cfce84; $custom-dark: #000000;
JSON
{
"hex": "#b7ba4e",
"rgb": {
"r": 183,
"g": 186,
"b": 78
},
"hsl": {
"h": 61.667,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.76514,
"c": 0.13088,
"h": 110.6
},
"luminance": 0.45735
}Semantic roles & 50–950 ramp
primary
#B7BA4E
secondary
#9C9ACA
accent
#54D458
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C