#B8CD38#B8CD38
#B8CD38 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.168 H 117.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CD38 |
|---|---|
| RGB | rgb(184, 205, 56) |
| HSL | hsl(68, 60%, 51%) |
| HSV | hsv(68, 73%, 80%) |
| CMYK | cmyk(10.2%, 0%, 72.7%, 19.6%) |
| CIE-LAB | lab(78.54, -25.73, 67.22) |
| CIE-LCH | lch(78.54, 71.97, 110.95°) |
| OKLab | oklab(80.62% -0.0772 0.1489) |
| OKLCH | oklch(80.62% 0.168 117.4) |
| XYZ | xyz(42.3133, 54.1390, 11.9614) |
| Luminance | 0.5414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.40
Baby Puke Green
#B6C406
ΔE00 3.53
Bile
#B5C306
ΔE00 3.64
Pea
#A4BF20
ΔE00 4.10
Gross Green
#A0BF16
ΔE00 4.56
Snot Green
#9DC100
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CD38 #4D38CD
analogous
#CD9738 #B8CD38 #6DCD38
triadic
#B8CD38 #38B8CD #CD38B8
tetradic
#B8CD38 #38CD97 #4D38CD #CD386D
square
#B8CD38 #38CD97 #4D38CD #CD386D
split-complementary
#B8CD38 #386DCD #9738CD
monochromatic
#636F1C #8FA028 #B8CD38 #C9D969 #DBE69A
Accessibility & contrast
On white
1.78
#B8CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#B8CD38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CD38
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CD38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CD38 | 1.00 | 1.78 | 11.83 | 11.83 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C3C2B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cd38; /* rgb */ color: rgb(184, 205, 56); /* oklch */ color: oklch(80.6% 0.168 117.4);
Tailwind
colors: {
custom: {
50: '#d1dc79',
500: '#b8cd38',
950: '#000000',
},
}SCSS
$custom: #b8cd38; $custom-light: #d1dc79; $custom-dark: #000000;
JSON
{
"hex": "#b8cd38",
"rgb": {
"r": 184,
"g": 205,
"b": 56
},
"hsl": {
"h": 68.456,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.80622,
"c": 0.16775,
"h": 117.4
},
"luminance": 0.54139
}Semantic roles & 50–950 ramp
primary
#B8CD38
secondary
#3B3178
accent
#45E35B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D