#B9CA38#B9CA38
#B9CA38 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.0% C 0.164 H 116.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CA38 |
|---|---|
| RGB | rgb(185, 202, 56) |
| HSL | hsl(67, 58%, 51%) |
| HSV | hsv(67, 72%, 79%) |
| CMYK | cmyk(8.4%, 0%, 72.3%, 20.8%) |
| CIE-LAB | lab(77.78, -23.87, 66.51) |
| CIE-LCH | lch(77.78, 70.66, 109.74°) |
| OKLab | oklab(80.03% -0.0721 0.1474) |
| OKLCH | oklch(80.03% 0.164 116.1) |
| XYZ | xyz(41.8430, 52.8415, 11.7358) |
| Luminance | 0.5284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.76
Baby Puke Green
#B6C406
ΔE00 2.92
Bile
#B5C306
ΔE00 3.00
Pea
#A4BF20
ΔE00 3.90
Snot
#ACBB0D
ΔE00 4.22
Gross Green
#A0BF16
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CA38 #4938CA
analogous
#CA9238 #B9CA38 #70CA38
triadic
#B9CA38 #38B9CA #CA38B9
tetradic
#B9CA38 #38CA92 #4938CA #CA3870
square
#B9CA38 #38CA92 #4938CA #CA3870
split-complementary
#B9CA38 #3870CA #9238CA
monochromatic
#626B1D #8E9B29 #B9CA38 #CAD768 #DBE499
Accessibility & contrast
On white
1.82
#B9CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#B9CA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CA38
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CA38 | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#C5BEAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b9ca38; /* rgb */ color: rgb(185, 202, 56); /* oklch */ color: oklch(80.0% 0.164 116.1);
Tailwind
colors: {
custom: {
50: '#d2da79',
500: '#b9ca38',
950: '#000000',
},
}SCSS
$custom: #b9ca38; $custom-light: #d2da79; $custom-dark: #000000;
JSON
{
"hex": "#b9ca38",
"rgb": {
"r": 185,
"g": 202,
"b": 56
},
"hsl": {
"h": 66.986,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.80028,
"c": 0.1641,
"h": 116.1
},
"luminance": 0.52841
}Semantic roles & 50–950 ramp
primary
#B9CA38
secondary
#393175
accent
#47E159
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D