#BDC918#BDC918
#BDC918 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.175 H 114.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #BDC918 |
|---|---|
| RGB | rgb(189, 201, 24) |
| HSL | hsl(64, 79%, 44%) |
| HSV | hsv(64, 88%, 79%) |
| CMYK | cmyk(6%, 0%, 88.1%, 21.2%) |
| CIE-LAB | lab(77.67, -22.81, 74.99) |
| CIE-LCH | lch(77.67, 78.38, 106.92°) |
| OKLab | oklab(79.97% -0.0716 0.1602) |
| OKLCH | oklch(79.97% 0.175 114.1) |
| XYZ | xyz(42.0392, 52.6589, 8.8136) |
| Luminance | 0.5266 (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.92
Puke Yellow
#C2BE0E
ΔE00 4.20
Vomit Yellow
#C7C10C
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDC918 #2418C9
analogous
#C97D18 #BDC918 #65C918
triadic
#BDC918 #18BDC9 #C918BD
tetradic
#BDC918 #18C97D #2418C9 #C91865
square
#BDC918 #18C97D #2418C9 #C91865
split-complementary
#BDC918 #1865C9 #7D18C9
monochromatic
#565C0B #8A9211 #BDC918 #DBE737 #E5EE6E
Accessibility & contrast
On white
1.82
#BDC918 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#BDC918 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDC918
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDC918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDC918 | 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)
#D8C12F
Tritanopia (blue-blind)
#CABCAB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bdc918; /* rgb */ color: rgb(189, 201, 24); /* oklch */ color: oklch(80.0% 0.175 114.1);
Tailwind
colors: {
custom: {
50: '#d5d96c',
500: '#bdc918',
950: '#000000',
},
}SCSS
$custom: #bdc918; $custom-light: #d5d96c; $custom-dark: #000000;
JSON
{
"hex": "#bdc918",
"rgb": {
"r": 189,
"g": 201,
"b": 24
},
"hsl": {
"h": 64.068,
"s": 78.667,
"l": 44.118
},
"oklch": {
"l": 0.79974,
"c": 0.17543,
"h": 114.1
},
"luminance": 0.52658
}Semantic roles & 50–950 ramp
primary
#BDC918
secondary
#231E67
accent
#33F540
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D