#B4BF2F#B4BF2F
#B4BF2F is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.159 H 114.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF2F |
|---|---|
| RGB | rgb(180, 191, 47) |
| HSL | hsl(65, 61%, 47%) |
| HSV | hsv(65, 75%, 75%) |
| CMYK | cmyk(5.8%, 0%, 75.4%, 25.1%) |
| CIE-LAB | lab(74.30, -20.98, 66.08) |
| CIE-LCH | lch(74.30, 69.33, 107.62°) |
| OKLab | oklab(77.13% -0.0646 0.1451) |
| OKLCH | oklch(77.13% 0.159 114) |
| XYZ | xyz(37.9674, 47.1709, 9.7936) |
| Luminance | 0.4717 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.04
Bile
#B5C306
ΔE00 2.35
Baby Puke Green
#B6C406
ΔE00 2.51
Mustard Green
#A8B504
ΔE00 3.18
Pea
#A4BF20
ΔE00 3.37
Gross Green
#A0BF16
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF2F #3A2FBF
analogous
#BF822F #B4BF2F #6CBF2F
triadic
#B4BF2F #2FB4BF #BF2FB4
tetradic
#B4BF2F #2FBF82 #3A2FBF #BF2F6C
square
#B4BF2F #2FBF82 #3A2FBF #BF2F6C
split-complementary
#B4BF2F #2F6CBF #822FBF
monochromatic
#575D17 #868E23 #B4BF2F #CCD556 #DBE187
Accessibility & contrast
On white
2.01
#B4BF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.43
#B4BF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF2F
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF2F | 1.00 | 2.01 | 10.43 | 10.43 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB50A
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C0B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf2f; /* rgb */ color: rgb(180, 191, 47); /* oklch */ color: oklch(77.1% 0.159 114.0);
Tailwind
colors: {
custom: {
50: '#ced273',
500: '#b4bf2f',
950: '#000000',
},
}SCSS
$custom: #b4bf2f; $custom-light: #ced273; $custom-dark: #000000;
JSON
{
"hex": "#b4bf2f",
"rgb": {
"r": 180,
"g": 191,
"b": 47
},
"hsl": {
"h": 64.583,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.77125,
"c": 0.15884,
"h": 114
},
"luminance": 0.4717
}Semantic roles & 50–950 ramp
primary
#B4BF2F
secondary
#857FCB
accent
#44E450
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B