#B5C02F#B5C02F
#B5C02F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.160 H 114.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C02F |
|---|---|
| RGB | rgb(181, 192, 47) |
| HSL | hsl(65, 61%, 47%) |
| HSV | hsv(65, 76%, 75%) |
| CMYK | cmyk(5.7%, 0%, 75.5%, 24.7%) |
| CIE-LAB | lab(74.65, -21.05, 66.43) |
| CIE-LCH | lch(74.65, 69.69, 107.58°) |
| OKLab | oklab(77.43% -0.0648 0.1458) |
| OKLCH | oklch(77.43% 0.16 114) |
| XYZ | xyz(38.4200, 47.7290, 9.8775) |
| Luminance | 0.4773 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.17
Bile
#B5C306
ΔE00 2.19
Baby Puke Green
#B6C406
ΔE00 2.33
Mustard Green
#A8B504
ΔE00 3.38
Pea
#A4BF20
ΔE00 3.45
Gross Green
#A0BF16
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C02F #3A2FC0
analogous
#C0832F #B5C02F #6DC02F
triadic
#B5C02F #2FB5C0 #C02FB5
tetradic
#B5C02F #2FC083 #3A2FC0 #C02F6D
square
#B5C02F #2FC083 #3A2FC0 #C02F6D
split-complementary
#B5C02F #2F6DC0 #832FC0
monochromatic
#585E17 #878F23 #B5C02F #CCD656 #DBE288
Accessibility & contrast
On white
1.99
#B5C02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#B5C02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C02F
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C02F | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB609
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b5c02f; /* rgb */ color: rgb(181, 192, 47); /* oklch */ color: oklch(77.4% 0.160 114.0);
Tailwind
colors: {
custom: {
50: '#cfd273',
500: '#b5c02f',
950: '#000000',
},
}SCSS
$custom: #b5c02f; $custom-light: #cfd273; $custom-dark: #000000;
JSON
{
"hex": "#b5c02f",
"rgb": {
"r": 181,
"g": 192,
"b": 47
},
"hsl": {
"h": 64.552,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.77429,
"c": 0.1596,
"h": 114
},
"luminance": 0.47728
}Semantic roles & 50–950 ramp
primary
#B5C02F
secondary
#857FCB
accent
#44E450
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B