#B2A63C#B2A63C
#B2A63C is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.126 H 102.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A63C |
|---|---|
| RGB | rgb(178, 166, 60) |
| HSL | hsl(54, 50%, 47%) |
| HSV | hsv(54, 66%, 70%) |
| CMYK | cmyk(0%, 6.7%, 66.3%, 30.2%) |
| CIE-LAB | lab(67.33, -8.41, 54.34) |
| CIE-LCH | lch(67.33, 54.99, 98.79°) |
| OKLab | oklab(71.54% -0.0279 0.1226) |
| OKLCH | oklch(71.54% 0.126 102.8) |
| XYZ | xyz(32.8132, 37.0650, 9.6999) |
| Luminance | 0.3706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.81
Puke
#A5A502
ΔE00 4.85
Muddy Yellow
#BFAC05
ΔE00 5.21
Brown Yellow
#B29705
ΔE00 6.46
Khaki (survey)
#AAA662
ΔE00 6.49
Olive Yellow
#C2B709
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A63C #3C48B2
analogous
#B26B3C #B2A63C #83B23C
triadic
#B2A63C #3CB2A6 #A63CB2
tetradic
#B2A63C #3CB26B #3C48B2 #B23C83
square
#B2A63C #3CB26B #3C48B2 #B23C83
split-complementary
#B2A63C #3C83B2 #6B3CB2
monochromatic
#56511D #847B2D #B2A63C #CABF61 #D9D28F
Accessibility & contrast
On white
2.50
#B2A63C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#B2A63C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A63C
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A63C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A63C | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A12E
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a63c; /* rgb */ color: rgb(178, 166, 60); /* oklch */ color: oklch(71.5% 0.126 102.8);
Tailwind
colors: {
custom: {
50: '#ccc077',
500: '#b2a63c',
950: '#000000',
},
}SCSS
$custom: #b2a63c; $custom-light: #ccc077; $custom-dark: #000000;
JSON
{
"hex": "#b2a63c",
"rgb": {
"r": 178,
"g": 166,
"b": 60
},
"hsl": {
"h": 53.898,
"s": 49.58,
"l": 46.667
},
"oklch": {
"l": 0.71544,
"c": 0.12577,
"h": 102.8
},
"luminance": 0.37064
}Semantic roles & 50–950 ramp
primary
#B2A63C
secondary
#868CC4
accent
#5DD94F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B