#B4C02F#B4C02F
#B4C02F is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.160 H 114.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C02F |
|---|---|
| RGB | rgb(180, 192, 47) |
| HSL | hsl(65, 61%, 47%) |
| HSV | hsv(65, 76%, 75%) |
| CMYK | cmyk(6.2%, 0%, 75.5%, 24.7%) |
| CIE-LAB | lab(74.58, -21.48, 66.34) |
| CIE-LCH | lch(74.58, 69.73, 107.94°) |
| OKLab | oklab(77.35% -0.066 0.1457) |
| OKLCH | oklch(77.35% 0.16 114.4) |
| XYZ | xyz(38.1863, 47.6085, 9.8665) |
| Luminance | 0.4761 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.11
Bile
#B5C306
ΔE00 2.22
Baby Puke Green
#B6C406
ΔE00 2.36
Pea
#A4BF20
ΔE00 3.22
Mustard Green
#A8B504
ΔE00 3.35
Gross Green
#A0BF16
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C02F #3B2FC0
analogous
#C0842F #B4C02F #6BC02F
triadic
#B4C02F #2FB4C0 #C02FB4
tetradic
#B4C02F #2FC084 #3B2FC0 #C02F6B
square
#B4C02F #2FC084 #3B2FC0 #C02F6B
split-complementary
#B4C02F #2F6BC0 #842FC0
monochromatic
#585E17 #868F23 #B4C02F #CBD656 #DAE288
Accessibility & contrast
On white
2.00
#B4C02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#B4C02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C02F
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C02F | 1.00 | 2.00 | 10.52 | 10.52 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB609
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4c02f; /* rgb */ color: rgb(180, 192, 47); /* oklch */ color: oklch(77.3% 0.160 114.4);
Tailwind
colors: {
custom: {
50: '#ced273',
500: '#b4c02f',
950: '#000000',
},
}SCSS
$custom: #b4c02f; $custom-light: #ced273; $custom-dark: #000000;
JSON
{
"hex": "#b4c02f",
"rgb": {
"r": 180,
"g": 192,
"b": 47
},
"hsl": {
"h": 64.966,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.77348,
"c": 0.1599,
"h": 114.4
},
"luminance": 0.47608
}Semantic roles & 50–950 ramp
primary
#B4C02F
secondary
#867FCB
accent
#44E451
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B