#B7B533#B7B533
#B7B533 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.2% C 0.146 H 108.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B533 |
|---|---|
| RGB | rgb(183, 181, 51) |
| HSL | hsl(59, 56%, 46%) |
| HSV | hsv(59, 72%, 72%) |
| CMYK | cmyk(0%, 1.1%, 72.1%, 28.2%) |
| CIE-LAB | lab(71.80, -14.50, 62.45) |
| CIE-LCH | lch(71.80, 64.11, 103.07°) |
| OKLab | oklab(75.19% -0.0463 0.138) |
| OKLCH | oklch(75.19% 0.146 108.6) |
| XYZ | xyz(36.6512, 43.3552, 9.5691) |
| Luminance | 0.4335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.84
Puke Yellow
#C2BE0E
ΔE00 3.89
Mustard Green
#A8B504
ΔE00 3.95
Snot
#ACBB0D
ΔE00 4.31
Vomit Yellow
#C7C10C
ΔE00 4.79
Puke
#A5A502
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B533 #3335B7
analogous
#B77333 #B7B533 #77B733
triadic
#B7B533 #33B7B5 #B533B7
tetradic
#B7B533 #33B773 #3335B7 #B73377
square
#B7B533 #33B773 #3335B7 #B73377
split-complementary
#B7B533 #3377B7 #7333B7
monochromatic
#575618 #878626 #B7B533 #D0CE57 #DEDC87
Accessibility & contrast
On white
2.17
#B7B533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#B7B533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B533
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B533 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE1B
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#C4A99C
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b7b533; /* rgb */ color: rgb(183, 181, 51); /* oklch */ color: oklch(75.2% 0.146 108.6);
Tailwind
colors: {
custom: {
50: '#d0ca74',
500: '#b7b533',
950: '#000000',
},
}SCSS
$custom: #b7b533; $custom-light: #d0ca74; $custom-dark: #000000;
JSON
{
"hex": "#b7b533",
"rgb": {
"r": 183,
"g": 181,
"b": 51
},
"hsl": {
"h": 59.091,
"s": 56.41,
"l": 45.882
},
"oklch": {
"l": 0.75188,
"c": 0.14561,
"h": 108.6
},
"luminance": 0.43354
}Semantic roles & 50–950 ramp
primary
#B7B533
secondary
#7F80C7
accent
#4AE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B