#B2C02F#B2C02F
#B2C02F is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.161 H 115.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C02F |
|---|---|
| RGB | rgb(178, 192, 47) |
| HSL | hsl(66, 61%, 47%) |
| HSV | hsv(66, 76%, 75%) |
| CMYK | cmyk(7.3%, 0%, 75.5%, 24.7%) |
| CIE-LAB | lab(74.43, -22.32, 66.14) |
| CIE-LCH | lch(74.43, 69.80, 108.65°) |
| OKLab | oklab(77.19% -0.0682 0.1453) |
| OKLCH | oklch(77.19% 0.161 115.1) |
| XYZ | xyz(37.7239, 47.3701, 9.8449) |
| Luminance | 0.4737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.06
Bile
#B5C306
ΔE00 2.36
Baby Puke Green
#B6C406
ΔE00 2.51
Pea
#A4BF20
ΔE00 2.78
Mustard Green
#A8B504
ΔE00 3.33
Gross Green
#A0BF16
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C02F #3D2FC0
analogous
#C0862F #B2C02F #6AC02F
triadic
#B2C02F #2FB2C0 #C02FB2
tetradic
#B2C02F #2FC086 #3D2FC0 #C02F6A
square
#B2C02F #2FC086 #3D2FC0 #C02F6A
split-complementary
#B2C02F #2F6AC0 #862FC0
monochromatic
#575E17 #848F23 #B2C02F #C9D656 #D9E288
Accessibility & contrast
On white
2.01
#B2C02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#B2C02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C02F
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C02F | 1.00 | 2.01 | 10.47 | 10.47 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB609
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b2c02f; /* rgb */ color: rgb(178, 192, 47); /* oklch */ color: oklch(77.2% 0.161 115.1);
Tailwind
colors: {
custom: {
50: '#cdd273',
500: '#b2c02f',
950: '#000000',
},
}SCSS
$custom: #b2c02f; $custom-light: #cdd273; $custom-dark: #000000;
JSON
{
"hex": "#b2c02f",
"rgb": {
"r": 178,
"g": 192,
"b": 47
},
"hsl": {
"h": 65.793,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.77189,
"c": 0.16051,
"h": 115.1
},
"luminance": 0.47369
}Semantic roles & 50–950 ramp
primary
#B2C02F
secondary
#877FCB
accent
#44E453
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B