#B8CB45#B8CB45
#B8CB45 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.157 H 117.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CB45 |
|---|---|
| RGB | rgb(184, 203, 69) |
| HSL | hsl(69, 56%, 53%) |
| HSV | hsv(69, 66%, 80%) |
| CMYK | cmyk(9.4%, 0%, 66%, 20.4%) |
| CIE-LAB | lab(78.07, -24.04, 61.97) |
| CIE-LCH | lch(78.07, 66.47, 111.20°) |
| OKLab | oklab(80.27% -0.0713 0.14) |
| OKLCH | oklch(80.27% 0.157 117) |
| XYZ | xyz(42.1982, 53.3324, 13.7003) |
| Luminance | 0.5333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.75
Pea
#A4BF20
ΔE00 4.16
Baby Puke Green
#B6C406
ΔE00 4.23
Bile
#B5C306
ΔE00 4.29
Gross Green
#A0BF16
ΔE00 4.72
Snot
#ACBB0D
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CB45 #5845CB
analogous
#CB9B45 #B8CB45 #75CB45
triadic
#B8CB45 #45B8CB #CB45B8
tetradic
#B8CB45 #45CB9B #5845CB #CB4575
square
#B8CB45 #45CB9B #5845CB #CB4575
split-complementary
#B8CB45 #4575CB #9B45CB
monochromatic
#697521 #94A52E #B8CB45 #CAD875 #DDE6A5
Accessibility & contrast
On white
1.80
#B8CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#B8CB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CB45
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CB45 | 1.00 | 1.80 | 11.67 | 11.67 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C132
Deuteranopia (green-blind)
#D7C24F
Tritanopia (blue-blind)
#C3C0B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b8cb45; /* rgb */ color: rgb(184, 203, 69); /* oklch */ color: oklch(80.3% 0.157 117.0);
Tailwind
colors: {
custom: {
50: '#d0da80',
500: '#b8cb45',
950: '#000000',
},
}SCSS
$custom: #b8cb45; $custom-light: #d0da80; $custom-dark: #000000;
JSON
{
"hex": "#b8cb45",
"rgb": {
"r": 184,
"g": 203,
"b": 69
},
"hsl": {
"h": 68.507,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.8027,
"c": 0.15708,
"h": 117
},
"luminance": 0.53332
}Semantic roles & 50–950 ramp
primary
#B8CB45
secondary
#41377E
accent
#48E05E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E