#B9C22D#B9C22D
#B9C22D is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.2% C 0.162 H 113.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C22D |
|---|---|
| RGB | rgb(185, 194, 45) |
| HSL | hsl(64, 62%, 47%) |
| HSV | hsv(64, 77%, 76%) |
| CMYK | cmyk(4.6%, 0%, 76.8%, 23.9%) |
| CIE-LAB | lab(75.51, -20.43, 67.95) |
| CIE-LCH | lch(75.51, 70.96, 106.74°) |
| OKLab | oklab(78.19% -0.0635 0.1486) |
| OKLCH | oklch(78.19% 0.162 113.1) |
| XYZ | xyz(39.7743, 49.0882, 9.8619) |
| Luminance | 0.4909 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.87
Baby Puke Green
#B6C406
ΔE00 1.93
Snot
#ACBB0D
ΔE00 2.64
Puke Yellow
#C2BE0E
ΔE00 3.72
Mustard Green
#A8B504
ΔE00 3.91
Pea
#A4BF20
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C22D #362DC2
analogous
#C2812D #B9C22D #6FC22D
triadic
#B9C22D #2DB9C2 #C22DB9
tetradic
#B9C22D #2DC281 #362DC2 #C22D6F
square
#B9C22D #2DC281 #362DC2 #C22D6F
split-complementary
#B9C22D #2D6FC2 #812DC2
monochromatic
#5A5F16 #8A9021 #B9C22D #D0D755 #DDE386
Accessibility & contrast
On white
1.94
#B9C22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.82
#B9C22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C22D
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C22D | 1.00 | 1.94 | 10.82 | 10.82 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D1BC3A
Tritanopia (blue-blind)
#C6B6A6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #b9c22d; /* rgb */ color: rgb(185, 194, 45); /* oklch */ color: oklch(78.2% 0.162 113.1);
Tailwind
colors: {
custom: {
50: '#d2d473',
500: '#b9c22d',
950: '#000000',
},
}SCSS
$custom: #b9c22d; $custom-light: #d2d473; $custom-dark: #000000;
JSON
{
"hex": "#b9c22d",
"rgb": {
"r": 185,
"g": 194,
"b": 45
},
"hsl": {
"h": 63.624,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.78185,
"c": 0.16156,
"h": 113.1
},
"luminance": 0.49087
}Semantic roles & 50–950 ramp
primary
#B9C22D
secondary
#837ECD
accent
#42E54C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B