#B4CA38#B4CA38
#B4CA38 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.6% C 0.166 H 117.9°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CA38 |
|---|---|
| RGB | rgb(180, 202, 56) |
| HSL | hsl(69, 58%, 51%) |
| HSV | hsv(69, 72%, 79%) |
| CMYK | cmyk(10.9%, 0%, 72.3%, 20.8%) |
| CIE-LAB | lab(77.42, -25.93, 66.04) |
| CIE-LCH | lch(77.42, 70.94, 111.44°) |
| OKLab | oklab(79.65% -0.0775 0.1466) |
| OKLCH | oklch(79.65% 0.166 117.9) |
| XYZ | xyz(40.6576, 52.2303, 11.6802) |
| Luminance | 0.5223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.80
Pea
#A4BF20
ΔE00 3.32
Baby Puke Green
#B6C406
ΔE00 3.51
Bile
#B5C306
ΔE00 3.56
Gross Green
#A0BF16
ΔE00 3.81
Snot Green
#9DC100
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CA38 #4E38CA
analogous
#CA9738 #B4CA38 #6BCA38
triadic
#B4CA38 #38B4CA #CA38B4
tetradic
#B4CA38 #38CA97 #4E38CA #CA386B
square
#B4CA38 #38CA97 #4E38CA #CA386B
split-complementary
#B4CA38 #386BCA #9738CA
monochromatic
#5F6B1D #8A9B29 #B4CA38 #C6D768 #D8E499
Accessibility & contrast
On white
1.83
#B4CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#B4CA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CA38
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CA38 | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF1C
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#BFBFAE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b4ca38; /* rgb */ color: rgb(180, 202, 56); /* oklch */ color: oklch(79.6% 0.166 117.9);
Tailwind
colors: {
custom: {
50: '#ceda79',
500: '#b4ca38',
950: '#000000',
},
}SCSS
$custom: #b4ca38; $custom-light: #ceda79; $custom-dark: #000000;
JSON
{
"hex": "#b4ca38",
"rgb": {
"r": 180,
"g": 202,
"b": 56
},
"hsl": {
"h": 69.041,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.79646,
"c": 0.1658,
"h": 117.9
},
"luminance": 0.5223
}Semantic roles & 50–950 ramp
primary
#B4CA38
secondary
#3C3175
accent
#47E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D