#B7BF4C#B7BF4C
#B7BF4C is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.138 H 112.9°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF4C |
|---|---|
| RGB | rgb(183, 191, 76) |
| HSL | hsl(64, 47%, 52%) |
| HSV | hsv(64, 60%, 75%) |
| CMYK | cmyk(4.2%, 0%, 60.2%, 25.1%) |
| CIE-LAB | lab(74.73, -18.07, 55.50) |
| CIE-LCH | lch(74.73, 58.37, 108.03°) |
| OKLab | oklab(77.59% -0.0538 0.1273) |
| OKLCH | oklch(77.59% 0.138 112.9) |
| XYZ | xyz(39.4647, 47.8515, 13.9934) |
| Luminance | 0.4785 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.63
Pea
#A4BF20
ΔE00 4.94
Bile
#B5C306
ΔE00 5.06
Baby Puke Green
#B6C406
ΔE00 5.15
Mustard Green
#A8B504
ΔE00 5.23
Sick Green
#9DB92C
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF4C #544CBF
analogous
#BF8E4C #B7BF4C #7EBF4C
triadic
#B7BF4C #4CB7BF #BF4CB7
tetradic
#B7BF4C #4CBF8E #544CBF #BF4C7E
square
#B7BF4C #4CBF8E #544CBF #BF4C7E
split-complementary
#B7BF4C #4C7EBF #8E4CBF
monochromatic
#666B26 #919836 #B7BF4C #C9CF79 #DBDFA6
Accessibility & contrast
On white
1.99
#B7BF4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.57
#B7BF4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF4C
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF4C | 1.00 | 1.99 | 10.57 | 10.57 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB73F
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#C2B4A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b7bf4c; /* rgb */ color: rgb(183, 191, 76); /* oklch */ color: oklch(77.6% 0.138 112.9);
Tailwind
colors: {
custom: {
50: '#cfd283',
500: '#b7bf4c',
950: '#000000',
},
}SCSS
$custom: #b7bf4c; $custom-light: #cfd283; $custom-dark: #000000;
JSON
{
"hex": "#b7bf4c",
"rgb": {
"r": 183,
"g": 191,
"b": 76
},
"hsl": {
"h": 64.174,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.77593,
"c": 0.13821,
"h": 112.9
},
"luminance": 0.47851
}Semantic roles & 50–950 ramp
primary
#B7BF4C
secondary
#9E9ACC
accent
#51D75A
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C