#B5C12E#B5C12E
#B5C12E is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.161 H 114.3°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C12E |
|---|---|
| RGB | rgb(181, 193, 46) |
| HSL | hsl(65, 62%, 47%) |
| HSV | hsv(65, 76%, 76%) |
| CMYK | cmyk(6.2%, 0%, 76.2%, 24.3%) |
| CIE-LAB | lab(74.93, -21.59, 67.00) |
| CIE-LCH | lch(74.93, 70.39, 107.86°) |
| OKLab | oklab(77.65% -0.0664 0.1469) |
| OKLCH | oklch(77.65% 0.161 114.3) |
| XYZ | xyz(38.6203, 48.1617, 9.8459) |
| Luminance | 0.4816 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.00
Baby Puke Green
#B6C406
ΔE00 2.13
Snot
#ACBB0D
ΔE00 2.21
Pea
#A4BF20
ΔE00 3.32
Mustard Green
#A8B504
ΔE00 3.53
Gross Green
#A0BF16
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C12E #3A2EC1
analogous
#C1842E #B5C12E #6CC12E
triadic
#B5C12E #2EB5C1 #C12EB5
tetradic
#B5C12E #2EC184 #3A2EC1 #C12E6C
square
#B5C12E #2EC184 #3A2EC1 #C12E6C
split-complementary
#B5C12E #2E6CC1 #842EC1
monochromatic
#585E16 #879022 #B5C12E #CCD756 #DBE287
Accessibility & contrast
On white
1.98
#B5C12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.63
#B5C12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C12E
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C12E | 1.00 | 1.98 | 10.63 | 10.63 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB704
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#C1B5A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b5c12e; /* rgb */ color: rgb(181, 193, 46); /* oklch */ color: oklch(77.6% 0.161 114.3);
Tailwind
colors: {
custom: {
50: '#cfd373',
500: '#b5c12e',
950: '#000000',
},
}SCSS
$custom: #b5c12e; $custom-light: #cfd373; $custom-dark: #000000;
JSON
{
"hex": "#b5c12e",
"rgb": {
"r": 181,
"g": 193,
"b": 46
},
"hsl": {
"h": 64.898,
"s": 61.506,
"l": 46.863
},
"oklch": {
"l": 0.77646,
"c": 0.16118,
"h": 114.3
},
"luminance": 0.48161
}Semantic roles & 50–950 ramp
primary
#B5C12E
secondary
#857FCC
accent
#43E550
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B