#B2A645#B2A645
#B2A645 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.119 H 102.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A645 |
|---|---|
| RGB | rgb(178, 166, 69) |
| HSL | hsl(53, 44%, 48%) |
| HSV | hsv(53, 61%, 70%) |
| CMYK | cmyk(0%, 6.7%, 61.2%, 30.2%) |
| CIE-LAB | lab(67.40, -7.82, 50.48) |
| CIE-LCH | lch(67.40, 51.08, 98.81°) |
| OKLab | oklab(71.63% -0.0252 0.1158) |
| OKLCH | oklch(71.63% 0.119 102.3) |
| XYZ | xyz(33.0717, 37.1684, 11.0612) |
| Luminance | 0.3717 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.43
Vomit
#A2A415
ΔE00 5.58
Puke
#A5A502
ΔE00 5.79
Darkkhaki
#BDB76B
ΔE00 6.15
Muddy Yellow
#BFAC05
ΔE00 6.17
Brown Yellow
#B29705
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A645 #4551B2
analogous
#B26F45 #B2A645 #87B245
triadic
#B2A645 #45B2A6 #A645B2
tetradic
#B2A645 #45B26F #4551B2 #B24587
square
#B2A645 #45B26F #4551B2 #B24587
split-complementary
#B2A645 #4587B2 #6F45B2
monochromatic
#5A5423 #867D34 #B2A645 #C7BD6E #D8D19A
Accessibility & contrast
On white
2.49
#B2A645 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#B2A645 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A645
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A645 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A645 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A13A
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#BF9B91
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a645; /* rgb */ color: rgb(178, 166, 69); /* oklch */ color: oklch(71.6% 0.119 102.3);
Tailwind
colors: {
custom: {
50: '#ccc07d',
500: '#b2a645',
950: '#000000',
},
}SCSS
$custom: #b2a645; $custom-light: #ccc07d; $custom-dark: #000000;
JSON
{
"hex": "#b2a645",
"rgb": {
"r": 178,
"g": 166,
"b": 69
},
"hsl": {
"h": 53.394,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.71631,
"c": 0.11851,
"h": 102.3
},
"luminance": 0.37167
}Semantic roles & 50–950 ramp
primary
#B2A645
secondary
#8F95C4
accent
#62D454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C