#BDB242#BDB242
#BDB242 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.132 H 103.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB242 |
|---|---|
| RGB | rgb(189, 178, 66) |
| HSL | hsl(55, 48%, 50%) |
| HSV | hsv(55, 65%, 74%) |
| CMYK | cmyk(0%, 5.8%, 65.1%, 25.9%) |
| CIE-LAB | lab(71.59, -9.56, 56.57) |
| CIE-LCH | lch(71.59, 57.37, 99.59°) |
| OKLab | oklab(75.18% -0.0312 0.128) |
| OKLCH | oklch(75.18% 0.132 103.7) |
| XYZ | xyz(37.8915, 43.0544, 11.4676) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.52
Muddy Yellow
#BFAC05
ΔE00 4.65
Puke Yellow
#C2BE0E
ΔE00 5.52
Brownish Yellow
#C9B003
ΔE00 5.64
Darkkhaki
#BDB76B
ΔE00 5.76
Puke
#A5A502
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB242 #424DBD
analogous
#BD7442 #BDB242 #8BBD42
triadic
#BDB242 #42BDB2 #B242BD
tetradic
#BDB242 #42BD74 #424DBD #BD428B
square
#BDB242 #42BD74 #424DBD #BD428B
split-complementary
#BDB242 #428BBD #7442BD
monochromatic
#625D22 #908732 #BDB242 #CDC46F #DDD79D
Accessibility & contrast
On white
2.19
#BDB242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#BDB242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB242
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB242 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#CBA69B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bdb242; /* rgb */ color: rgb(189, 178, 66); /* oklch */ color: oklch(75.2% 0.132 103.7);
Tailwind
colors: {
custom: {
50: '#d4c87c',
500: '#bdb242',
950: '#000000',
},
}SCSS
$custom: #bdb242; $custom-light: #d4c87c; $custom-dark: #000000;
JSON
{
"hex": "#bdb242",
"rgb": {
"r": 189,
"g": 178,
"b": 66
},
"hsl": {
"h": 54.634,
"s": 48.235,
"l": 50
},
"oklch": {
"l": 0.75182,
"c": 0.13173,
"h": 103.7
},
"luminance": 0.43053
}Semantic roles & 50–950 ramp
primary
#BDB242
secondary
#9297C9
accent
#5CD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C