#A2A230#A2A230
#A2A230 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.132 H 109.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A230 |
|---|---|
| RGB | rgb(162, 162, 48) |
| HSL | hsl(60, 54%, 41%) |
| HSV | hsv(60, 70%, 64%) |
| CMYK | cmyk(0%, 0%, 70.4%, 36.5%) |
| CIE-LAB | lab(64.75, -13.98, 56.12) |
| CIE-LCH | lch(64.75, 57.83, 103.99°) |
| OKLab | oklab(69.13% -0.044 0.1248) |
| OKLCH | oklch(69.13% 0.132 109.4) |
| XYZ | xyz(28.3551, 33.7363, 7.8138) |
| Luminance | 0.3373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.32
Puke
#A5A502
ΔE00 3.24
Pea Soup
#929901
ΔE00 4.21
Pea Soup Green
#94A617
ΔE00 4.48
Baby Poop Green
#8F9805
ΔE00 4.65
Puke Green
#9AAE07
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A230 #3030A2
analogous
#A26930 #A2A230 #69A230
triadic
#A2A230 #30A2A2 #A230A2
tetradic
#A2A230 #30A269 #3030A2 #A23069
square
#A2A230 #30A269 #3030A2 #A23069
split-complementary
#A2A230 #3069A2 #6930A2
monochromatic
#444414 #737322 #A2A230 #C8C847 #D6D676
Accessibility & contrast
On white
2.71
#A2A230 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A2A230 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A230
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A230 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#AE988C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a230; /* rgb */ color: rgb(162, 162, 48); /* oklch */ color: oklch(69.1% 0.132 109.4);
Tailwind
colors: {
custom: {
50: '#c1bd70',
500: '#a2a230',
950: '#000000',
},
}SCSS
$custom: #a2a230; $custom-light: #c1bd70; $custom-dark: #000000;
JSON
{
"hex": "#a2a230",
"rgb": {
"r": 162,
"g": 162,
"b": 48
},
"hsl": {
"h": 60,
"s": 54.286,
"l": 41.176
},
"oklch": {
"l": 0.69134,
"c": 0.13237,
"h": 109.4
},
"luminance": 0.33735
}Semantic roles & 50–950 ramp
primary
#A2A230
secondary
#6F6FBE
accent
#4ADE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B