#B2A741#B2A741
#B2A741 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.123 H 103.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A741 |
|---|---|
| RGB | rgb(178, 167, 65) |
| HSL | hsl(54, 47%, 48%) |
| HSV | hsv(54, 63%, 70%) |
| CMYK | cmyk(0%, 6.2%, 63.5%, 30.2%) |
| CIE-LAB | lab(67.64, -8.62, 52.52) |
| CIE-LCH | lch(67.64, 53.22, 99.32°) |
| OKLab | oklab(71.81% -0.028 0.1196) |
| OKLCH | oklch(71.81% 0.123 103.2) |
| XYZ | xyz(33.1342, 37.4853, 10.4900) |
| Luminance | 0.3748 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.02
Puke
#A5A502
ΔE00 5.17
Muddy Yellow
#BFAC05
ΔE00 5.67
Khaki (survey)
#AAA662
ΔE00 5.92
Darkkhaki
#BDB76B
ΔE00 6.33
Olive Yellow
#C2B709
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A741 #414CB2
analogous
#B26E41 #B2A741 #85B241
triadic
#B2A741 #41B2A7 #A741B2
tetradic
#B2A741 #41B26E #414CB2 #B24185
square
#B2A741 #41B26E #414CB2 #B24185
split-complementary
#B2A741 #4185B2 #6E41B2
monochromatic
#585320 #857D31 #B2A741 #C8BF68 #D8D295
Accessibility & contrast
On white
2.47
#B2A741 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#B2A741 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A741
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A741 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A741 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#BF9C92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b2a741; /* rgb */ color: rgb(178, 167, 65); /* oklch */ color: oklch(71.8% 0.123 103.2);
Tailwind
colors: {
custom: {
50: '#ccc07a',
500: '#b2a741',
950: '#000000',
},
}SCSS
$custom: #b2a741; $custom-light: #ccc07a; $custom-dark: #000000;
JSON
{
"hex": "#b2a741",
"rgb": {
"r": 178,
"g": 167,
"b": 65
},
"hsl": {
"h": 54.159,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.71807,
"c": 0.12279,
"h": 103.2
},
"luminance": 0.37484
}Semantic roles & 50–950 ramp
primary
#B2A741
secondary
#8B90C4
accent
#5FD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B