#BDC842#BDC842
#BDC842 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.0% C 0.154 H 113.9°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #BDC842 |
|---|---|
| RGB | rgb(189, 200, 66) |
| HSL | hsl(65, 55%, 52%) |
| HSV | hsv(65, 67%, 78%) |
| CMYK | cmyk(5.5%, 0%, 67%, 21.6%) |
| CIE-LAB | lab(77.59, -20.69, 62.77) |
| CIE-LCH | lch(77.59, 66.09, 108.25°) |
| OKLab | oklab(79.97% -0.0625 0.1411) |
| OKLCH | oklch(79.97% 0.154 113.9) |
| XYZ | xyz(42.6251, 52.5215, 13.0454) |
| Luminance | 0.5252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.40
Bile
#B5C306
ΔE00 3.45
Green Yellow
#B5CE08
ΔE00 4.10
Snot
#ACBB0D
ΔE00 4.40
Pea
#A4BF20
ΔE00 4.63
Gross Green
#A0BF16
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDC842 #4D42C8
analogous
#C89042 #BDC842 #7AC842
triadic
#BDC842 #42BDC8 #C842BD
tetradic
#BDC842 #42C890 #4D42C8 #C8427A
square
#BDC842 #42C890 #4D42C8 #C8427A
split-complementary
#BDC842 #427AC8 #9042C8
monochromatic
#696F20 #959F2E #BDC842 #CED671 #DEE4A1
Accessibility & contrast
On white
1.83
#BDC842 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#BDC842 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDC842
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDC842 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDC842 | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C9BCAD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bdc842; /* rgb */ color: rgb(189, 200, 66); /* oklch */ color: oklch(80.0% 0.154 113.9);
Tailwind
colors: {
custom: {
50: '#d4d87e',
500: '#bdc842',
950: '#000000',
},
}SCSS
$custom: #bdc842; $custom-light: #d4d87e; $custom-dark: #000000;
JSON
{
"hex": "#bdc842",
"rgb": {
"r": 189,
"g": 200,
"b": 66
},
"hsl": {
"h": 64.925,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.79971,
"c": 0.1543,
"h": 113.9
},
"luminance": 0.52521
}Semantic roles & 50–950 ramp
primary
#BDC842
secondary
#3B3679
accent
#4ADE56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D