#BDC540#BDC540
#BDC540 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.3% C 0.152 H 112.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #BDC540 |
|---|---|
| RGB | rgb(189, 197, 64) |
| HSL | hsl(64, 53%, 51%) |
| HSV | hsv(64, 68%, 77%) |
| CMYK | cmyk(4.1%, 0%, 67.5%, 22.7%) |
| CIE-LAB | lab(76.75, -19.33, 62.69) |
| CIE-LCH | lch(76.75, 65.60, 107.13°) |
| OKLab | oklab(79.3% -0.0589 0.1406) |
| OKLCH | oklch(79.3% 0.152 112.7) |
| XYZ | xyz(41.8791, 51.1224, 12.5110) |
| Luminance | 0.5112 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.28
Bile
#B5C306
ΔE00 3.29
Snot
#ACBB0D
ΔE00 4.01
Green Yellow
#B5CE08
ΔE00 4.63
Puke Yellow
#C2BE0E
ΔE00 4.64
Pea
#A4BF20
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDC540 #4840C5
analogous
#C58A40 #BDC540 #7AC540
triadic
#BDC540 #40BDC5 #C540BD
tetradic
#BDC540 #40C58A #4840C5 #C5407A
square
#BDC540 #40C58A #4840C5 #C5407A
split-complementary
#BDC540 #407AC5 #8A40C5
monochromatic
#666A20 #93992F #BDC540 #CDD36F #DDE29E
Accessibility & contrast
On white
1.87
#BDC540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.22
#BDC540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDC540
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDC540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDC540 | 1.00 | 1.87 | 11.22 | 11.22 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC2C
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#C9B9AA
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bdc540; /* rgb */ color: rgb(189, 197, 64); /* oklch */ color: oklch(79.3% 0.152 112.7);
Tailwind
colors: {
custom: {
50: '#d4d67c',
500: '#bdc540',
950: '#000000',
},
}SCSS
$custom: #bdc540; $custom-light: #d4d67c; $custom-dark: #000000;
JSON
{
"hex": "#bdc540",
"rgb": {
"r": 189,
"g": 197,
"b": 64
},
"hsl": {
"h": 63.609,
"s": 53.414,
"l": 51.176
},
"oklch": {
"l": 0.79295,
"c": 0.15241,
"h": 112.7
},
"luminance": 0.51121
}Semantic roles & 50–950 ramp
primary
#BDC540
secondary
#393574
accent
#4BDD54
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D