#B5C12F#B5C12F
#B5C12F is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.161 H 114.3°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C12F |
|---|---|
| RGB | rgb(181, 193, 47) |
| HSL | hsl(65, 61%, 47%) |
| HSV | hsv(65, 76%, 76%) |
| CMYK | cmyk(6.2%, 0%, 75.6%, 24.3%) |
| CIE-LAB | lab(74.93, -21.55, 66.69) |
| CIE-LCH | lch(74.93, 70.09, 107.91°) |
| OKLab | oklab(77.65% -0.0662 0.1464) |
| OKLCH | oklch(77.65% 0.161 114.3) |
| XYZ | xyz(38.6403, 48.1697, 9.9509) |
| Luminance | 0.4817 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.08
Baby Puke Green
#B6C406
ΔE00 2.20
Snot
#ACBB0D
ΔE00 2.26
Pea
#A4BF20
ΔE00 3.31
Mustard Green
#A8B504
ΔE00 3.56
Gross Green
#A0BF16
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C12F #3B2FC1
analogous
#C1842F #B5C12F #6CC12F
triadic
#B5C12F #2FB5C1 #C12FB5
tetradic
#B5C12F #2FC184 #3B2FC1 #C12F6C
square
#B5C12F #2FC184 #3B2FC1 #C12F6C
split-complementary
#B5C12F #2F6CC1 #842FC1
monochromatic
#595F17 #879023 #B5C12F #CCD657 #DBE288
Accessibility & contrast
On white
1.97
#B5C12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.63
#B5C12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C12F
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C12F | 1.00 | 1.97 | 10.63 | 10.63 |
| #FFFFFF | 1.97 | 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)
#CFB708
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C1B5A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b5c12f; /* rgb */ color: rgb(181, 193, 47); /* oklch */ color: oklch(77.7% 0.161 114.3);
Tailwind
colors: {
custom: {
50: '#cfd373',
500: '#b5c12f',
950: '#000000',
},
}SCSS
$custom: #b5c12f; $custom-light: #cfd373; $custom-dark: #000000;
JSON
{
"hex": "#b5c12f",
"rgb": {
"r": 181,
"g": 193,
"b": 47
},
"hsl": {
"h": 64.932,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.77652,
"c": 0.16066,
"h": 114.3
},
"luminance": 0.48169
}Semantic roles & 50–950 ramp
primary
#B5C12F
secondary
#8680CC
accent
#44E451
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B