#A4A338#A4A338
#A4A338 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.127 H 108.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A338 |
|---|---|
| RGB | rgb(164, 163, 56) |
| HSL | hsl(59, 49%, 43%) |
| HSV | hsv(59, 66%, 64%) |
| CMYK | cmyk(0%, 0.6%, 65.9%, 35.7%) |
| CIE-LAB | lab(65.26, -13.17, 53.49) |
| CIE-LCH | lch(65.26, 55.09, 103.83°) |
| OKLab | oklab(69.6% -0.041 0.1206) |
| OKLCH | oklch(69.6% 0.127 108.8) |
| XYZ | xyz(29.1218, 34.3733, 8.8413) |
| Luminance | 0.3437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.06
Puke
#A5A502
ΔE00 3.90
Pea Soup
#929901
ΔE00 4.99
Pea Soup Green
#94A617
ΔE00 5.00
Baby Poop Green
#8F9805
ΔE00 5.38
Puke Green
#9AAE07
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A338 #3839A4
analogous
#A46D38 #A4A338 #6FA438
triadic
#A4A338 #38A4A3 #A338A4
tetradic
#A4A338 #38A46D #3839A4 #A4386F
square
#A4A338 #38A46D #3839A4 #A4386F
split-complementary
#A4A338 #386FA4 #6D38A4
monochromatic
#494819 #767628 #A4A338 #C5C454 #D4D482
Accessibility & contrast
On white
2.67
#A4A338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A4A338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A338
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A338 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#AF998D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a4a338; /* rgb */ color: rgb(164, 163, 56); /* oklch */ color: oklch(69.6% 0.127 108.8);
Tailwind
colors: {
custom: {
50: '#c2be74',
500: '#a4a338',
950: '#000000',
},
}SCSS
$custom: #a4a338; $custom-light: #c2be74; $custom-dark: #000000;
JSON
{
"hex": "#a4a338",
"rgb": {
"r": 164,
"g": 163,
"b": 56
},
"hsl": {
"h": 59.444,
"s": 49.091,
"l": 43.137
},
"oklch": {
"l": 0.69596,
"c": 0.12739,
"h": 108.8
},
"luminance": 0.34372
}Semantic roles & 50–950 ramp
primary
#A4A338
secondary
#7A7ABE
accent
#50D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B