#BDCD38#BDCD38
#BDCD38 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.0% C 0.166 H 115.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BDCD38 |
|---|---|
| RGB | rgb(189, 205, 56) |
| HSL | hsl(66, 60%, 51%) |
| HSV | hsv(66, 73%, 80%) |
| CMYK | cmyk(7.8%, 0%, 72.7%, 19.6%) |
| CIE-LAB | lab(78.91, -23.67, 67.69) |
| CIE-LCH | lch(78.91, 71.71, 109.27°) |
| OKLab | oklab(81.01% -0.0718 0.1498) |
| OKLCH | oklch(81.01% 0.166 115.6) |
| XYZ | xyz(43.5326, 54.7677, 12.0186) |
| Luminance | 0.5477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.57
Baby Puke Green
#B6C406
ΔE00 3.11
Bile
#B5C306
ΔE00 3.27
Pea
#A4BF20
ΔE00 4.70
Snot
#ACBB0D
ΔE00 4.84
Gross Green
#A0BF16
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDCD38 #4838CD
analogous
#CD9238 #BDCD38 #72CD38
triadic
#BDCD38 #38BDCD #CD38BD
tetradic
#BDCD38 #38CD92 #4838CD #CD3872
square
#BDCD38 #38CD92 #4838CD #CD3872
split-complementary
#BDCD38 #3872CD #9238CD
monochromatic
#666F1C #93A028 #BDCD38 #CDD969 #DDE69A
Accessibility & contrast
On white
1.76
#BDCD38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#BDCD38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDCD38
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDCD38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDCD38 | 1.00 | 1.76 | 11.95 | 11.95 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#C9C1B0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #bdcd38; /* rgb */ color: rgb(189, 205, 56); /* oklch */ color: oklch(81.0% 0.166 115.6);
Tailwind
colors: {
custom: {
50: '#d4dc79',
500: '#bdcd38',
950: '#000000',
},
}SCSS
$custom: #bdcd38; $custom-light: #d4dc79; $custom-dark: #000000;
JSON
{
"hex": "#bdcd38",
"rgb": {
"r": 189,
"g": 205,
"b": 56
},
"hsl": {
"h": 66.443,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.81006,
"c": 0.16609,
"h": 115.6
},
"luminance": 0.54767
}Semantic roles & 50–950 ramp
primary
#BDCD38
secondary
#393178
accent
#45E356
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D