#BDC940#BDC940
#BDC940 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.2% C 0.157 H 114.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BDC940 |
|---|---|
| RGB | rgb(189, 201, 64) |
| HSL | hsl(65, 56%, 52%) |
| HSV | hsv(65, 68%, 79%) |
| CMYK | cmyk(6%, 0%, 68.2%, 21.2%) |
| CIE-LAB | lab(77.85, -21.30, 63.80) |
| CIE-LCH | lch(77.85, 67.26, 108.46°) |
| OKLab | oklab(80.18% -0.0644 0.1429) |
| OKLCH | oklch(80.18% 0.157 114.3) |
| XYZ | xyz(42.7995, 52.9631, 12.8178) |
| Luminance | 0.5296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.25
Bile
#B5C306
ΔE00 3.32
Green Yellow
#B5CE08
ΔE00 3.76
Snot
#ACBB0D
ΔE00 4.43
Pea
#A4BF20
ΔE00 4.58
Gross Green
#A0BF16
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDC940 #4C40C9
analogous
#C99040 #BDC940 #79C940
triadic
#BDC940 #40BDC9 #C940BD
tetradic
#BDC940 #40C990 #4C40C9 #C94079
square
#BDC940 #40C990 #4C40C9 #C94079
split-complementary
#BDC940 #4079C9 #9040C9
monochromatic
#686F1F #959F2D #BDC940 #CDD670 #DEE49F
Accessibility & contrast
On white
1.81
#BDC940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#BDC940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDC940
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDC940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDC940 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#C9BDAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bdc940; /* rgb */ color: rgb(189, 201, 64); /* oklch */ color: oklch(80.2% 0.157 114.3);
Tailwind
colors: {
custom: {
50: '#d4d97d',
500: '#bdc940',
950: '#000000',
},
}SCSS
$custom: #bdc940; $custom-light: #d4d97d; $custom-dark: #000000;
JSON
{
"hex": "#bdc940",
"rgb": {
"r": 189,
"g": 201,
"b": 64
},
"hsl": {
"h": 65.255,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.80176,
"c": 0.15676,
"h": 114.3
},
"luminance": 0.52962
}Semantic roles & 50–950 ramp
primary
#BDC940
secondary
#3B3578
accent
#49DF56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D