#B2A23E#B2A23E
#B2A23E is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.121 H 100.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A23E |
|---|---|
| RGB | rgb(178, 162, 62) |
| HSL | hsl(52, 48%, 47%) |
| HSV | hsv(52, 65%, 70%) |
| CMYK | cmyk(0%, 9%, 65.2%, 30.2%) |
| CIE-LAB | lab(66.26, -6.17, 52.36) |
| CIE-LCH | lch(66.26, 52.72, 96.72°) |
| OKLab | oklab(70.7% -0.0213 0.1188) |
| OKLCH | oklch(70.7% 0.121 100.2) |
| XYZ | xyz(32.1513, 35.6548, 9.7450) |
| Luminance | 0.3565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.49
Muddy Yellow
#BFAC05
ΔE00 5.86
Vomit
#A2A415
ΔE00 5.95
Puke
#A5A502
ΔE00 6.01
Khaki (survey)
#AAA662
ΔE00 6.45
Dark Gold
#B59410
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A23E #3E4EB2
analogous
#B2683E #B2A23E #88B23E
triadic
#B2A23E #3EB2A2 #A23EB2
tetradic
#B2A23E #3EB268 #3E4EB2 #B23E88
square
#B2A23E #3EB268 #3E4EB2 #B23E88
split-complementary
#B2A23E #3E88B2 #683EB2
monochromatic
#574F1E #85792E #B2A23E #C9BB64 #D9CF92
Accessibility & contrast
On white
2.58
#B2A23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#B2A23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A23E
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A23E | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E32
Deuteranopia (green-blind)
#B5A443
Tritanopia (blue-blind)
#BF978D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b2a23e; /* rgb */ color: rgb(178, 162, 62); /* oklch */ color: oklch(70.7% 0.121 100.2);
Tailwind
colors: {
custom: {
50: '#ccbd78',
500: '#b2a23e',
950: '#000000',
},
}SCSS
$custom: #b2a23e; $custom-light: #ccbd78; $custom-dark: #000000;
JSON
{
"hex": "#b2a23e",
"rgb": {
"r": 178,
"g": 162,
"b": 62
},
"hsl": {
"h": 51.724,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.707,
"c": 0.12066,
"h": 100.2
},
"luminance": 0.35653
}Semantic roles & 50–950 ramp
primary
#B2A23E
secondary
#8890C4
accent
#63D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B