#B8CA38#B8CA38
#B8CA38 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.164 H 116.4°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CA38 |
|---|---|
| RGB | rgb(184, 202, 56) |
| HSL | hsl(67, 58%, 51%) |
| HSV | hsv(67, 72%, 79%) |
| CMYK | cmyk(8.9%, 0%, 72.3%, 20.8%) |
| CIE-LAB | lab(77.71, -24.28, 66.42) |
| CIE-LCH | lch(77.71, 70.71, 110.08°) |
| OKLab | oklab(79.95% -0.0732 0.1472) |
| OKLCH | oklch(79.95% 0.164 116.4) |
| XYZ | xyz(41.6025, 52.7175, 11.7245) |
| Luminance | 0.5272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.73
Baby Puke Green
#B6C406
ΔE00 3.01
Bile
#B5C306
ΔE00 3.09
Pea
#A4BF20
ΔE00 3.77
Snot
#ACBB0D
ΔE00 4.23
Gross Green
#A0BF16
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CA38 #4A38CA
analogous
#CA9338 #B8CA38 #6FCA38
triadic
#B8CA38 #38B8CA #CA38B8
tetradic
#B8CA38 #38CA93 #4A38CA #CA386F
square
#B8CA38 #38CA93 #4A38CA #CA386F
split-complementary
#B8CA38 #386FCA #9338CA
monochromatic
#616B1D #8D9B29 #B8CA38 #C9D768 #DAE499
Accessibility & contrast
On white
1.82
#B8CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#B8CA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CA38
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CA38 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#C4BFAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b8ca38; /* rgb */ color: rgb(184, 202, 56); /* oklch */ color: oklch(80.0% 0.164 116.4);
Tailwind
colors: {
custom: {
50: '#d1da79',
500: '#b8ca38',
950: '#000000',
},
}SCSS
$custom: #b8ca38; $custom-light: #d1da79; $custom-dark: #000000;
JSON
{
"hex": "#b8ca38",
"rgb": {
"r": 184,
"g": 202,
"b": 56
},
"hsl": {
"h": 67.397,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.79951,
"c": 0.16442,
"h": 116.4
},
"luminance": 0.52717
}Semantic roles & 50–950 ramp
primary
#B8CA38
secondary
#3A3175
accent
#47E15A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D