#A8A225#A8A225
#A8A225 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.138 H 106.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A225 |
|---|---|
| RGB | rgb(168, 162, 37) |
| HSL | hsl(57, 64%, 40%) |
| HSV | hsv(57, 78%, 66%) |
| CMYK | cmyk(0%, 3.6%, 78%, 34.1%) |
| CIE-LAB | lab(65.20, -11.84, 60.57) |
| CIE-LCH | lch(65.20, 61.71, 101.06°) |
| OKLab | oklab(69.6% -0.0394 0.132) |
| OKLCH | oklch(69.6% 0.138 106.6) |
| XYZ | xyz(29.4039, 34.3001, 6.8216) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.24
Puke
#A5A502
ΔE00 2.38
Pea Soup
#929901
ΔE00 4.95
Baby Poop Green
#8F9805
ΔE00 5.60
Muddy Yellow
#BFAC05
ΔE00 5.70
Pea Soup Green
#94A617
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A225 #252BA8
analogous
#A86125 #A8A225 #6CA825
triadic
#A8A225 #25A8A2 #A225A8
tetradic
#A8A225 #25A861 #252BA8 #A8256C
square
#A8A225 #25A861 #252BA8 #A8256C
split-complementary
#A8A225 #256CA8 #6125A8
monochromatic
#44410F #76721A #A8A225 #D3CC37 #DED969
Accessibility & contrast
On white
2.67
#A8A225 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#A8A225 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A225
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A225 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A225 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C02
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#B5978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a225; /* rgb */ color: rgb(168, 162, 37); /* oklch */ color: oklch(69.6% 0.138 106.6);
Tailwind
colors: {
custom: {
50: '#c6bd6b',
500: '#a8a225',
950: '#000000',
},
}SCSS
$custom: #a8a225; $custom-light: #c6bd6b; $custom-dark: #000000;
JSON
{
"hex": "#a8a225",
"rgb": {
"r": 168,
"g": 162,
"b": 37
},
"hsl": {
"h": 57.252,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.69595,
"c": 0.13776,
"h": 106.6
},
"luminance": 0.34299
}Semantic roles & 50–950 ramp
primary
#A8A225
secondary
#6569C4
accent
#48E741
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A