#B9C42F#B9C42F
#B9C42F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.163 H 113.9°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C42F |
|---|---|
| RGB | rgb(185, 196, 47) |
| HSL | hsl(64, 61%, 48%) |
| HSV | hsv(64, 76%, 77%) |
| CMYK | cmyk(5.6%, 0%, 76%, 23.1%) |
| CIE-LAB | lab(76.07, -21.34, 67.85) |
| CIE-LCH | lch(76.07, 71.13, 107.46°) |
| OKLab | oklab(78.64% -0.0659 0.1487) |
| OKLCH | oklch(78.64% 0.163 113.9) |
| XYZ | xyz(40.2618, 50.0002, 10.2189) |
| Luminance | 0.5000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.85
Baby Puke Green
#B6C406
ΔE00 1.86
Snot
#ACBB0D
ΔE00 2.89
Green Yellow
#B5CE08
ΔE00 3.66
Pea
#A4BF20
ΔE00 3.92
Puke Yellow
#C2BE0E
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C42F #3A2FC4
analogous
#C4852F #B9C42F #6EC42F
triadic
#B9C42F #2FB9C4 #C42FB9
tetradic
#B9C42F #2FC485 #3A2FC4 #C42F6E
square
#B9C42F #2FC485 #3A2FC4 #C42F6E
split-complementary
#B9C42F #2F6EC4 #852FC4
monochromatic
#5C6117 #8A9323 #B9C42F #CED759 #DCE38A
Accessibility & contrast
On white
1.91
#B9C42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.00
#B9C42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C42F
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C42F | 1.00 | 1.91 | 11.00 | 11.00 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BA05
Deuteranopia (green-blind)
#D2BD3C
Tritanopia (blue-blind)
#C6B8A8
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b9c42f; /* rgb */ color: rgb(185, 196, 47); /* oklch */ color: oklch(78.6% 0.163 113.9);
Tailwind
colors: {
custom: {
50: '#d2d574',
500: '#b9c42f',
950: '#000000',
},
}SCSS
$custom: #b9c42f; $custom-light: #d2d574; $custom-dark: #000000;
JSON
{
"hex": "#b9c42f",
"rgb": {
"r": 185,
"g": 196,
"b": 47
},
"hsl": {
"h": 64.43,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.78639,
"c": 0.16263,
"h": 113.9
},
"luminance": 0.49999
}Semantic roles & 50–950 ramp
primary
#B9C42F
secondary
#8782CD
accent
#43E44F
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B