#A8A234#A8A234
#A8A234 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.129 H 106.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A234 |
|---|---|
| RGB | rgb(168, 162, 52) |
| HSL | hsl(57, 53%, 43%) |
| HSV | hsv(57, 69%, 66%) |
| CMYK | cmyk(0%, 3.6%, 69%, 34.1%) |
| CIE-LAB | lab(65.29, -11.13, 55.26) |
| CIE-LCH | lch(65.29, 56.37, 101.39°) |
| OKLab | oklab(69.69% -0.0359 0.1236) |
| OKLCH | oklch(69.69% 0.129 106.2) |
| XYZ | xyz(29.6897, 34.4145, 8.3269) |
| Luminance | 0.3441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.14
Puke
#A5A502
ΔE00 3.62
Pea Soup
#929901
ΔE00 5.38
Baby Poop Green
#8F9805
ΔE00 5.90
Pea Soup Green
#94A617
ΔE00 6.09
Muddy Yellow
#BFAC05
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A234 #343AA8
analogous
#A86834 #A8A234 #74A834
triadic
#A8A234 #34A8A2 #A234A8
tetradic
#A8A234 #34A868 #343AA8 #A83474
square
#A8A234 #34A868 #343AA8 #A83474
split-complementary
#A8A234 #3474A8 #6834A8
monochromatic
#4B4817 #797526 #A8A234 #C9C350 #D7D37F
Accessibility & contrast
On white
2.66
#A8A234 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A8A234 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A234
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A234 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A234 | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C23
Deuteranopia (green-blind)
#B2A13B
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a234; /* rgb */ color: rgb(168, 162, 52); /* oklch */ color: oklch(69.7% 0.129 106.2);
Tailwind
colors: {
custom: {
50: '#c5bd72',
500: '#a8a234',
950: '#000000',
},
}SCSS
$custom: #a8a234; $custom-light: #c5bd72; $custom-dark: #000000;
JSON
{
"hex": "#a8a234",
"rgb": {
"r": 168,
"g": 162,
"b": 52
},
"hsl": {
"h": 56.897,
"s": 52.727,
"l": 43.137
},
"oklch": {
"l": 0.69695,
"c": 0.12867,
"h": 106.2
},
"luminance": 0.34413
}Semantic roles & 50–950 ramp
primary
#A8A234
secondary
#777BC0
accent
#53DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B