#B7CA3B#B7CA3B
#B7CA3B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.163 H 116.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CA3B |
|---|---|
| RGB | rgb(183, 202, 59) |
| HSL | hsl(68, 57%, 51%) |
| HSV | hsv(68, 71%, 79%) |
| CMYK | cmyk(9.4%, 0%, 70.8%, 20.8%) |
| CIE-LAB | lab(77.65, -24.54, 65.29) |
| CIE-LCH | lch(77.65, 69.75, 110.60°) |
| OKLab | oklab(79.89% -0.0736 0.1454) |
| OKLCH | oklch(79.89% 0.163 116.8) |
| XYZ | xyz(41.4394, 52.6246, 12.1114) |
| Luminance | 0.5262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.96
Baby Puke Green
#B6C406
ΔE00 3.35
Bile
#B5C306
ΔE00 3.41
Pea
#A4BF20
ΔE00 3.68
Gross Green
#A0BF16
ΔE00 4.24
Snot
#ACBB0D
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CA3B #4E3BCA
analogous
#CA953B #B7CA3B #6FCA3B
triadic
#B7CA3B #3BB7CA #CA3BB7
tetradic
#B7CA3B #3BCA95 #4E3BCA #CA3B6F
square
#B7CA3B #3BCA95 #4E3BCA #CA3B6F
split-complementary
#B7CA3B #3B6FCA #953BCA
monochromatic
#636D1E #8E9D2B #B7CA3B #C9D76B #DAE49B
Accessibility & contrast
On white
1.82
#B7CA3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#B7CA3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CA3B
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CA3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CA3B | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF22
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#C2BFAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b7ca3b; /* rgb */ color: rgb(183, 202, 59); /* oklch */ color: oklch(79.9% 0.163 116.8);
Tailwind
colors: {
custom: {
50: '#d0da7a',
500: '#b7ca3b',
950: '#000000',
},
}SCSS
$custom: #b7ca3b; $custom-light: #d0da7a; $custom-dark: #000000;
JSON
{
"hex": "#b7ca3b",
"rgb": {
"r": 183,
"g": 202,
"b": 59
},
"hsl": {
"h": 67.972,
"s": 57.43,
"l": 51.176
},
"oklch": {
"l": 0.79894,
"c": 0.16295,
"h": 116.8
},
"luminance": 0.52624
}Semantic roles & 50–950 ramp
primary
#B7CA3B
secondary
#3C3377
accent
#47E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D