#B7C94A#B7C94A
#B7C94A is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.151 H 116.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C94A |
|---|---|
| RGB | rgb(183, 201, 74) |
| HSL | hsl(69, 54%, 54%) |
| HSV | hsv(69, 63%, 79%) |
| CMYK | cmyk(9%, 0%, 63.2%, 21.2%) |
| CIE-LAB | lab(77.48, -23.15, 59.31) |
| CIE-LCH | lch(77.48, 63.67, 111.32°) |
| OKLab | oklab(79.79% -0.0683 0.1351) |
| OKLCH | oklch(79.79% 0.151 116.8) |
| XYZ | xyz(41.6520, 52.3355, 14.3848) |
| Luminance | 0.5233 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 4.18
Green Yellow
#B5CE08
ΔE00 4.51
Baby Puke Green
#B6C406
ΔE00 4.65
Bile
#B5C306
ΔE00 4.67
Gross Green
#A0BF16
ΔE00 4.79
Snot
#ACBB0D
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C94A #5C4AC9
analogous
#C99C4A #B7C94A #78C94A
triadic
#B7C94A #4AB7C9 #C94AB7
tetradic
#B7C94A #4AC99C #5C4AC9 #C94A78
square
#B7C94A #4AC99C #5C4AC9 #C94A78
split-complementary
#B7C94A #4A78C9 #9C4AC9
monochromatic
#6A7623 #94A531 #B7C94A #CAD779 #DDE5A8
Accessibility & contrast
On white
1.83
#B7C94A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#B7C94A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C94A
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C94A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C94A | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#C2BEAF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b7c94a; /* rgb */ color: rgb(183, 201, 74); /* oklch */ color: oklch(79.8% 0.151 116.8);
Tailwind
colors: {
custom: {
50: '#cfd982',
500: '#b7c94a',
950: '#000000',
},
}SCSS
$custom: #b7c94a; $custom-light: #cfd982; $custom-dark: #000000;
JSON
{
"hex": "#b7c94a",
"rgb": {
"r": 183,
"g": 201,
"b": 74
},
"hsl": {
"h": 68.504,
"s": 54.043,
"l": 53.922
},
"oklch": {
"l": 0.7979,
"c": 0.15137,
"h": 116.8
},
"luminance": 0.52335
}Semantic roles & 50–950 ramp
primary
#B7C94A
secondary
#43397E
accent
#4ADD5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E