#B8CB38#B8CB38
#B8CB38 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.2% C 0.166 H 116.8°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CB38 |
|---|---|
| RGB | rgb(184, 203, 56) |
| HSL | hsl(68, 59%, 51%) |
| HSV | hsv(68, 72%, 80%) |
| CMYK | cmyk(9.4%, 0%, 72.4%, 20.4%) |
| CIE-LAB | lab(77.99, -24.76, 66.68) |
| CIE-LCH | lch(77.99, 71.13, 110.37°) |
| OKLab | oklab(80.17% -0.0745 0.1478) |
| OKLCH | oklch(80.17% 0.166 116.8) |
| XYZ | xyz(41.8379, 53.1883, 11.8030) |
| Luminance | 0.5319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.60
Baby Puke Green
#B6C406
ΔE00 3.17
Bile
#B5C306
ΔE00 3.26
Pea
#A4BF20
ΔE00 3.86
Gross Green
#A0BF16
ΔE00 4.39
Snot
#ACBB0D
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CB38 #4B38CB
analogous
#CB9438 #B8CB38 #6ECB38
triadic
#B8CB38 #38B8CB #CB38B8
tetradic
#B8CB38 #38CB94 #4B38CB #CB386E
square
#B8CB38 #38CB94 #4B38CB #CB386E
split-complementary
#B8CB38 #386ECB #9438CB
monochromatic
#626C1C #8E9D29 #B8CB38 #C9D869 #DBE499
Accessibility & contrast
On white
1.80
#B8CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.64
#B8CB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CB38
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CB38 | 1.00 | 1.80 | 11.64 | 11.64 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#C4C0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b8cb38; /* rgb */ color: rgb(184, 203, 56); /* oklch */ color: oklch(80.2% 0.166 116.8);
Tailwind
colors: {
custom: {
50: '#d1da79',
500: '#b8cb38',
950: '#000000',
},
}SCSS
$custom: #b8cb38; $custom-light: #d1da79; $custom-dark: #000000;
JSON
{
"hex": "#b8cb38",
"rgb": {
"r": 184,
"g": 203,
"b": 56
},
"hsl": {
"h": 67.755,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.80174,
"c": 0.16554,
"h": 116.8
},
"luminance": 0.53188
}Semantic roles & 50–950 ramp
primary
#B8CB38
secondary
#3A3176
accent
#46E25A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D