#BDB238#BDB238
#BDB238 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.139 H 104.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB238 |
|---|---|
| RGB | rgb(189, 178, 56) |
| HSL | hsl(55, 54%, 48%) |
| HSV | hsv(55, 70%, 74%) |
| CMYK | cmyk(0%, 5.8%, 70.4%, 25.9%) |
| CIE-LAB | lab(71.52, -10.12, 60.51) |
| CIE-LCH | lch(71.52, 61.35, 99.49°) |
| OKLab | oklab(75.1% -0.0339 0.1346) |
| OKLCH | oklch(75.1% 0.139 104.1) |
| XYZ | xyz(37.6220, 42.9466, 10.0484) |
| Luminance | 0.4294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.51
Muddy Yellow
#BFAC05
ΔE00 3.80
Puke Yellow
#C2BE0E
ΔE00 4.70
Brownish Yellow
#C9B003
ΔE00 4.91
Vomit Yellow
#C7C10C
ΔE00 5.34
Puke
#A5A502
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB238 #3843BD
analogous
#BD7038 #BDB238 #85BD38
triadic
#BDB238 #38BDB2 #B238BD
tetradic
#BDB238 #38BD70 #3843BD #BD3885
square
#BDB238 #38BD70 #3843BD #BD3885
split-complementary
#BDB238 #3885BD #7038BD
monochromatic
#5F591C #8E862A #BDB238 #D0C762 #DED891
Accessibility & contrast
On white
2.19
#BDB238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#BDB238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB238
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB238 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C5B240
Tritanopia (blue-blind)
#CBA69A
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bdb238; /* rgb */ color: rgb(189, 178, 56); /* oklch */ color: oklch(75.1% 0.139 104.1);
Tailwind
colors: {
custom: {
50: '#d4c876',
500: '#bdb238',
950: '#000000',
},
}SCSS
$custom: #bdb238; $custom-light: #d4c876; $custom-dark: #000000;
JSON
{
"hex": "#bdb238",
"rgb": {
"r": 189,
"g": 178,
"b": 56
},
"hsl": {
"h": 55.038,
"s": 54.286,
"l": 48.039
},
"oklch": {
"l": 0.751,
"c": 0.13882,
"h": 104.1
},
"luminance": 0.42945
}Semantic roles & 50–950 ramp
primary
#BDB238
secondary
#878DC9
accent
#56DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B