#B4A268#B4A268
#B4A268 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.080 H 92.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A268 |
|---|---|
| RGB | rgb(180, 162, 104) |
| HSL | hsl(46, 34%, 56%) |
| HSV | hsv(46, 42%, 71%) |
| CMYK | cmyk(0%, 10%, 42.2%, 29.4%) |
| CIE-LAB | lab(66.93, -1.70, 32.53) |
| CIE-LCH | lch(66.93, 32.57, 92.99°) |
| OKLab | oklab(71.44% -0.0039 0.0795) |
| OKLCH | oklch(71.44% 0.08 92.8) |
| XYZ | xyz(34.2423, 36.5447, 18.3441) |
| Luminance | 0.3654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.40
Sandstone
#C9AE74
ΔE00 4.96
Sand
#C2B280
ΔE00 5.00
Khaki (survey)
#AAA662
ΔE00 5.07
Dust
#B2996E
ΔE00 5.35
Dark Beige
#AC9362
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A268 #687AB4
analogous
#B47C68 #B4A268 #A0B468
triadic
#B4A268 #68B4A2 #A268B4
tetradic
#B4A268 #68B47C #687AB4 #B468A0
square
#B4A268 #68B47C #687AB4 #B468A0
split-complementary
#B4A268 #68A0B4 #7C68B4
monochromatic
#6C5F36 #95834A #B4A268 #C8BB91 #DDD4BA
Accessibility & contrast
On white
2.53
#B4A268 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#B4A268 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A268
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A268 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A268 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA064
Deuteranopia (green-blind)
#B2A56A
Tritanopia (blue-blind)
#BF9A94
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b4a268; /* rgb */ color: rgb(180, 162, 104); /* oklch */ color: oklch(71.4% 0.080 92.8);
Tailwind
colors: {
custom: {
50: '#ccbd94',
500: '#b4a268',
950: '#000000',
},
}SCSS
$custom: #b4a268; $custom-light: #ccbd94; $custom-dark: #000000;
JSON
{
"hex": "#b4a268",
"rgb": {
"r": 180,
"g": 162,
"b": 104
},
"hsl": {
"h": 45.789,
"s": 33.628,
"l": 55.686
},
"oklch": {
"l": 0.71441,
"c": 0.07961,
"h": 92.8
},
"luminance": 0.36543
}Semantic roles & 50–950 ramp
primary
#B4A268
secondary
#ACB4CC
accent
#78CA5E
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#13120D
muted
#82817E