#B3A21E#B3A21E
#B3A21E is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.140 H 101.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A21E |
|---|---|
| RGB | rgb(179, 162, 30) |
| HSL | hsl(53, 71%, 41%) |
| HSV | hsv(53, 83%, 70%) |
| CMYK | cmyk(0%, 9.5%, 83.2%, 29.8%) |
| CIE-LAB | lab(66.15, -7.18, 63.83) |
| CIE-LCH | lch(66.15, 64.23, 96.42°) |
| OKLab | oklab(70.58% -0.0274 0.1372) |
| OKLCH | oklch(70.58% 0.14 101.3) |
| XYZ | xyz(31.7467, 35.5196, 6.4118) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.55
Brown Yellow
#B29705
ΔE00 4.08
Puke
#A5A502
ΔE00 4.61
Vomit
#A2A415
ΔE00 5.11
Brownish Yellow
#C9B003
ΔE00 5.34
Ocher
#BF9B0C
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A21E #1E2FB3
analogous
#B3571E #B3A21E #79B31E
triadic
#B3A21E #1EB3A2 #A21EB3
tetradic
#B3A21E #1EB357 #1E2FB3 #B31E79
square
#B3A21E #1EB357 #1E2FB3 #B31E79
split-complementary
#B3A21E #1E79B3 #571EB3
monochromatic
#4A430C #7F7315 #B3A21E #DDC932 #E5D766
Accessibility & contrast
On white
2.59
#B3A21E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#B3A21E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A21E
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A21E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A21E | 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)
#B29D00
Deuteranopia (green-blind)
#B7A42A
Tritanopia (blue-blind)
#C1968A
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b3a21e; /* rgb */ color: rgb(179, 162, 30); /* oklch */ color: oklch(70.6% 0.140 101.3);
Tailwind
colors: {
custom: {
50: '#cebd68',
500: '#b3a21e',
950: '#000000',
},
}SCSS
$custom: #b3a21e; $custom-light: #cebd68; $custom-dark: #000000;
JSON
{
"hex": "#b3a21e",
"rgb": {
"r": 179,
"g": 162,
"b": 30
},
"hsl": {
"h": 53.154,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.70577,
"c": 0.1399,
"h": 101.3
},
"luminance": 0.35518
}Semantic roles & 50–950 ramp
primary
#B3A21E
secondary
#626ECB
accent
#4EEE3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A