#BAA23A#BAA23A
#BAA23A is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.124 H 96.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA23A |
|---|---|
| RGB | rgb(186, 162, 58) |
| HSL | hsl(49, 52%, 48%) |
| HSV | hsv(49, 69%, 73%) |
| CMYK | cmyk(0%, 12.9%, 68.8%, 27.1%) |
| CIE-LAB | lab(66.97, -2.90, 55.04) |
| CIE-LCH | lch(66.97, 55.12, 93.02°) |
| OKLab | oklab(71.43% -0.0129 0.1235) |
| OKLCH | oklch(71.43% 0.124 96) |
| XYZ | xyz(33.9354, 36.5870, 9.2767) |
| Luminance | 0.3659 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.45
Ocher
#BF9B0C
ΔE00 4.59
Dark Gold
#B59410
ΔE00 5.09
Muddy Yellow
#BFAC05
ΔE00 5.36
Yellow Brown
#B79400
ΔE00 5.55
Ocre
#C69C04
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA23A #3A52BA
analogous
#BA623A #BAA23A #92BA3A
triadic
#BAA23A #3ABAA2 #A23ABA
tetradic
#BAA23A #3ABA62 #3A52BA #BA3A92
square
#BAA23A #3ABA62 #3A52BA #BA3A92
split-complementary
#BAA23A #3A92BA #623ABA
monochromatic
#5D511D #8B792B #BAA23A #CEBA63 #DDCF92
Accessibility & contrast
On white
2.52
#BAA23A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#BAA23A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA23A
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA23A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA23A | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F2C
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa23a; /* rgb */ color: rgb(186, 162, 58); /* oklch */ color: oklch(71.4% 0.124 96.0);
Tailwind
colors: {
custom: {
50: '#d2bd76',
500: '#baa23a',
950: '#000000',
},
}SCSS
$custom: #baa23a; $custom-light: #d2bd76; $custom-dark: #000000;
JSON
{
"hex": "#baa23a",
"rgb": {
"r": 186,
"g": 162,
"b": 58
},
"hsl": {
"h": 48.75,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.71428,
"c": 0.1242,
"h": 96
},
"luminance": 0.36585
}Semantic roles & 50–950 ramp
primary
#BAA23A
secondary
#8894C8
accent
#67DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B