#BDC917#BDC917
#BDC917 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.176 H 114.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #BDC917 |
|---|---|
| RGB | rgb(189, 201, 23) |
| HSL | hsl(64, 79%, 44%) |
| HSV | hsv(64, 89%, 79%) |
| CMYK | cmyk(6%, 0%, 88.6%, 21.2%) |
| CIE-LAB | lab(77.67, -22.83, 75.16) |
| CIE-LCH | lch(77.67, 78.55, 106.89°) |
| OKLab | oklab(79.97% -0.0717 0.1604) |
| OKLCH | oklch(79.97% 0.176 114.1) |
| XYZ | xyz(42.0290, 52.6549, 8.7598) |
| Luminance | 0.5265 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.44
Bile
#B5C306
ΔE00 1.69
Green Yellow
#B5CE08
ΔE00 2.63
Snot
#ACBB0D
ΔE00 3.93
Puke Yellow
#C2BE0E
ΔE00 4.20
Vomit Yellow
#C7C10C
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDC917 #2317C9
analogous
#C97C17 #BDC917 #64C917
triadic
#BDC917 #17BDC9 #C917BD
tetradic
#BDC917 #17C97C #2317C9 #C91764
square
#BDC917 #17C97C #2317C9 #C91764
split-complementary
#BDC917 #1764C9 #7C17C9
monochromatic
#565B0A #899211 #BDC917 #DCE835 #E5EE6C
Accessibility & contrast
On white
1.82
#BDC917 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#BDC917 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDC917
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDC917 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDC917 | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D8C12E
Tritanopia (blue-blind)
#CABCAB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bdc917; /* rgb */ color: rgb(189, 201, 23); /* oklch */ color: oklch(80.0% 0.176 114.1);
Tailwind
colors: {
custom: {
50: '#d5d96c',
500: '#bdc917',
950: '#000000',
},
}SCSS
$custom: #bdc917; $custom-light: #d5d96c; $custom-dark: #000000;
JSON
{
"hex": "#bdc917",
"rgb": {
"r": 189,
"g": 201,
"b": 23
},
"hsl": {
"h": 64.045,
"s": 79.464,
"l": 43.922
},
"oklch": {
"l": 0.79972,
"c": 0.17569,
"h": 114.1
},
"luminance": 0.52654
}Semantic roles & 50–950 ramp
primary
#BDC917
secondary
#221D67
accent
#32F63F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D