#B2C12F#B2C12F
#B2C12F is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.162 H 115.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C12F |
|---|---|
| RGB | rgb(178, 193, 47) |
| HSL | hsl(66, 61%, 47%) |
| HSV | hsv(66, 76%, 76%) |
| CMYK | cmyk(7.8%, 0%, 75.6%, 24.3%) |
| CIE-LAB | lab(74.71, -22.81, 66.40) |
| CIE-LCH | lch(74.71, 70.21, 108.96°) |
| OKLab | oklab(77.41% -0.0695 0.1459) |
| OKLCH | oklch(77.41% 0.162 115.5) |
| XYZ | xyz(37.9442, 47.8108, 9.9183) |
| Luminance | 0.4781 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.20
Bile
#B5C306
ΔE00 2.31
Baby Puke Green
#B6C406
ΔE00 2.44
Pea
#A4BF20
ΔE00 2.66
Gross Green
#A0BF16
ΔE00 3.41
Mustard Green
#A8B504
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C12F #3E2FC1
analogous
#C1872F #B2C12F #69C12F
triadic
#B2C12F #2FB2C1 #C12FB2
tetradic
#B2C12F #2FC187 #3E2FC1 #C12F69
square
#B2C12F #2FC187 #3E2FC1 #C12F69
split-complementary
#B2C12F #2F69C1 #872FC1
monochromatic
#575F17 #859023 #B2C12F #C9D657 #D9E288
Accessibility & contrast
On white
1.99
#B2C12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#B2C12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C12F
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C12F | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB708
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#BEB6A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b2c12f; /* rgb */ color: rgb(178, 193, 47); /* oklch */ color: oklch(77.4% 0.162 115.5);
Tailwind
colors: {
custom: {
50: '#cdd373',
500: '#b2c12f',
950: '#000000',
},
}SCSS
$custom: #b2c12f; $custom-light: #cdd373; $custom-dark: #000000;
JSON
{
"hex": "#b2c12f",
"rgb": {
"r": 178,
"g": 193,
"b": 47
},
"hsl": {
"h": 66.164,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.77414,
"c": 0.16159,
"h": 115.5
},
"luminance": 0.4781
}Semantic roles & 50–950 ramp
primary
#B2C12F
secondary
#8880CC
accent
#44E454
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B