#B7C04A#B7C04A
#B7C04A is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.141 H 113.3°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C04A |
|---|---|
| RGB | rgb(183, 192, 74) |
| HSL | hsl(65, 48%, 52%) |
| HSV | hsv(65, 61%, 75%) |
| CMYK | cmyk(4.7%, 0%, 61.5%, 24.7%) |
| CIE-LAB | lab(74.99, -18.71, 56.65) |
| CIE-LCH | lch(74.99, 59.66, 108.28°) |
| OKLab | oklab(77.79% -0.0558 0.1295) |
| OKLCH | oklch(77.79% 0.141 113.3) |
| XYZ | xyz(39.6151, 48.2617, 13.7058) |
| Luminance | 0.4826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.39
Pea
#A4BF20
ΔE00 4.64
Bile
#B5C306
ΔE00 4.71
Baby Puke Green
#B6C406
ΔE00 4.80
Sick Green
#9DB92C
ΔE00 5.08
Mustard Green
#A8B504
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C04A #534AC0
analogous
#C08E4A #B7C04A #7CC04A
triadic
#B7C04A #4AB7C0 #C04AB7
tetradic
#B7C04A #4AC08E #534AC0 #C04A7C
square
#B7C04A #4AC08E #534AC0 #C04A7C
split-complementary
#B7C04A #4A7CC0 #8E4AC0
monochromatic
#656B25 #909835 #B7C04A #C9D077 #DBE0A5
Accessibility & contrast
On white
1.97
#B7C04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.65
#B7C04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C04A
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C04A | 1.00 | 1.97 | 10.65 | 10.65 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#CDBA52
Tritanopia (blue-blind)
#C2B5A7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b7c04a; /* rgb */ color: rgb(183, 192, 74); /* oklch */ color: oklch(77.8% 0.141 113.3);
Tailwind
colors: {
custom: {
50: '#cfd282',
500: '#b7c04a',
950: '#000000',
},
}SCSS
$custom: #b7c04a; $custom-light: #cfd282; $custom-dark: #000000;
JSON
{
"hex": "#b7c04a",
"rgb": {
"r": 183,
"g": 192,
"b": 74
},
"hsl": {
"h": 64.576,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.77794,
"c": 0.14098,
"h": 113.3
},
"luminance": 0.48261
}Semantic roles & 50–950 ramp
primary
#B7C04A
secondary
#9D99CD
accent
#50D85A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C