#B2A22B#B2A22B
#B2A22B is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.134 H 101.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A22B |
|---|---|
| RGB | rgb(178, 162, 43) |
| HSL | hsl(53, 61%, 43%) |
| HSV | hsv(53, 76%, 70%) |
| CMYK | cmyk(0%, 9%, 75.8%, 30.2%) |
| CIE-LAB | lab(66.12, -7.16, 59.74) |
| CIE-LCH | lch(66.12, 60.17, 96.84°) |
| OKLab | oklab(70.55% -0.0262 0.131) |
| OKLCH | oklch(70.55% 0.134 101.3) |
| XYZ | xyz(31.7180, 35.4815, 7.4629) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.27
Brown Yellow
#B29705
ΔE00 4.48
Puke
#A5A502
ΔE00 4.71
Vomit
#A2A415
ΔE00 4.99
Ocher
#BF9B0C
ΔE00 5.97
Brownish Yellow
#C9B003
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A22B #2B3BB2
analogous
#B25E2B #B2A22B #7EB22B
triadic
#B2A22B #2BB2A2 #A22BB2
tetradic
#B2A22B #2BB25E #2B3BB2 #B22B7E
square
#B2A22B #2BB25E #2B3BB2 #B22B7E
split-complementary
#B2A22B #2B7EB2 #5E2BB2
monochromatic
#4F4813 #81751F #B2A22B #D3C248 #DFD379
Accessibility & contrast
On white
2.59
#B2A22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#B2A22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A22B
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A22B | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D13
Deuteranopia (green-blind)
#B6A433
Tritanopia (blue-blind)
#C0968B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b2a22b; /* rgb */ color: rgb(178, 162, 43); /* oklch */ color: oklch(70.6% 0.134 101.3);
Tailwind
colors: {
custom: {
50: '#cdbd6e',
500: '#b2a22b',
950: '#000000',
},
}SCSS
$custom: #b2a22b; $custom-light: #cdbd6e; $custom-dark: #000000;
JSON
{
"hex": "#b2a22b",
"rgb": {
"r": 178,
"g": 162,
"b": 43
},
"hsl": {
"h": 52.889,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.70551,
"c": 0.13359,
"h": 101.3
},
"luminance": 0.3548
}Semantic roles & 50–950 ramp
primary
#B2A22B
secondary
#727CC7
accent
#57E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B