#B4B752#B4B752
#B4B752 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.124 H 110.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B752 |
|---|---|
| RGB | rgb(180, 183, 82) |
| HSL | hsl(62, 41%, 52%) |
| HSV | hsv(62, 55%, 72%) |
| CMYK | cmyk(1.6%, 0%, 55.2%, 28.2%) |
| CIE-LAB | lab(72.35, -14.81, 50.09) |
| CIE-LCH | lch(72.35, 52.23, 106.48°) |
| OKLab | oklab(75.65% -0.0438 0.1166) |
| OKLCH | oklch(75.65% 0.125 110.6) |
| XYZ | xyz(37.2798, 44.1803, 14.5448) |
| Luminance | 0.4418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.44
Light Olive
#ACBF69
ΔE00 5.41
Booger
#9BB53C
ΔE00 5.69
Light Olive Green
#A4BE5C
ΔE00 5.83
Mustard Green
#A8B504
ΔE00 6.04
Snot
#ACBB0D
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B752 #5552B7
analogous
#B78852 #B4B752 #82B752
triadic
#B4B752 #52B4B7 #B752B4
tetradic
#B4B752 #52B788 #5552B7 #B75282
square
#B4B752 #52B788 #5552B7 #B75282
split-complementary
#B4B752 #5282B7 #8852B7
monochromatic
#63652A #8D903C #B4B752 #C7C97D #D9DBA8
Accessibility & contrast
On white
2.14
#B4B752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#B4B752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B752
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B752 | 1.00 | 2.14 | 9.84 | 9.84 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C5B358
Tritanopia (blue-blind)
#BFADA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b752; /* rgb */ color: rgb(180, 183, 82); /* oklch */ color: oklch(75.6% 0.124 110.6);
Tailwind
colors: {
custom: {
50: '#cdcc86',
500: '#b4b752',
950: '#000000',
},
}SCSS
$custom: #b4b752; $custom-light: #cdcc86; $custom-dark: #000000;
JSON
{
"hex": "#b4b752",
"rgb": {
"r": 180,
"g": 183,
"b": 82
},
"hsl": {
"h": 61.782,
"s": 41.224,
"l": 51.961
},
"oklch": {
"l": 0.7565,
"c": 0.1245,
"h": 110.6
},
"luminance": 0.44179
}Semantic roles & 50–950 ramp
primary
#B4B752
secondary
#9E9CC9
accent
#57D15A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C