#A8A238#A8A238
#A8A238 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.126 H 106.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A238 |
|---|---|
| RGB | rgb(168, 162, 56) |
| HSL | hsl(57, 50%, 44%) |
| HSV | hsv(57, 67%, 66%) |
| CMYK | cmyk(0%, 3.6%, 66.7%, 34.1%) |
| CIE-LAB | lab(65.32, -10.90, 53.66) |
| CIE-LCH | lch(65.32, 54.76, 101.49°) |
| OKLab | oklab(69.73% -0.0348 0.1209) |
| OKLCH | oklch(69.73% 0.126 106.1) |
| XYZ | xyz(29.7837, 34.4520, 8.8216) |
| Luminance | 0.3445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.51
Puke
#A5A502
ΔE00 4.04
Pea Soup
#929901
ΔE00 5.59
Baby Poop Green
#8F9805
ΔE00 6.07
Khaki (survey)
#AAA662
ΔE00 6.18
Pea Soup Green
#94A617
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A238 #383EA8
analogous
#A86A38 #A8A238 #76A838
triadic
#A8A238 #38A8A2 #A238A8
tetradic
#A8A238 #38A86A #383EA8 #A83876
square
#A8A238 #38A86A #383EA8 #A83876
split-complementary
#A8A238 #3876A8 #6A38A8
monochromatic
#4C4919 #7A7629 #A8A238 #C7C156 #D6D284
Accessibility & contrast
On white
2.66
#A8A238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A8A238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A238
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A238 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C2A
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a8a238; /* rgb */ color: rgb(168, 162, 56); /* oklch */ color: oklch(69.7% 0.126 106.1);
Tailwind
colors: {
custom: {
50: '#c5bd74',
500: '#a8a238',
950: '#000000',
},
}SCSS
$custom: #a8a238; $custom-light: #c5bd74; $custom-dark: #000000;
JSON
{
"hex": "#a8a238",
"rgb": {
"r": 168,
"g": 162,
"b": 56
},
"hsl": {
"h": 56.786,
"s": 50,
"l": 43.922
},
"oklch": {
"l": 0.69728,
"c": 0.12577,
"h": 106.1
},
"luminance": 0.34451
}Semantic roles & 50–950 ramp
primary
#A8A238
secondary
#7C80C0
accent
#56DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B