#A2A745#A2A745
#A2A745 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.122 H 111.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A745 |
|---|---|
| RGB | rgb(162, 167, 69) |
| HSL | hsl(63, 42%, 46%) |
| HSV | hsv(63, 59%, 65%) |
| CMYK | cmyk(3%, 0%, 58.7%, 34.5%) |
| CIE-LAB | lab(66.33, -15.21, 48.91) |
| CIE-LCH | lch(66.33, 51.22, 107.27°) |
| OKLab | oklab(70.45% -0.0452 0.1128) |
| OKLCH | oklch(70.45% 0.122 111.8) |
| XYZ | xyz(29.7939, 35.7491, 10.9599) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.73
Pea Soup Green
#94A617
ΔE00 4.88
Khaki (survey)
#AAA662
ΔE00 5.24
Puke
#A5A502
ΔE00 5.66
Booger
#9BB53C
ΔE00 5.75
Puke Green
#9AAE07
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A745 #4A45A7
analogous
#A77B45 #A2A745 #71A745
triadic
#A2A745 #45A2A7 #A745A2
tetradic
#A2A745 #45A77B #4A45A7 #A74571
square
#A2A745 #45A77B #4A45A7 #A74571
split-complementary
#A2A745 #4571A7 #7B45A7
monochromatic
#4E5021 #787C33 #A2A745 #BCC168 #CFD394
Accessibility & contrast
On white
2.58
#A2A745 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A2A745 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A745
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A745 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A745 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A03A
Deuteranopia (green-blind)
#B3A34B
Tritanopia (blue-blind)
#AC9E92
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a745; /* rgb */ color: rgb(162, 167, 69); /* oklch */ color: oklch(70.4% 0.122 111.8);
Tailwind
colors: {
custom: {
50: '#c0c17d',
500: '#a2a745',
950: '#000000',
},
}SCSS
$custom: #a2a745; $custom-light: #c0c17d; $custom-dark: #000000;
JSON
{
"hex": "#a2a745",
"rgb": {
"r": 162,
"g": 167,
"b": 69
},
"hsl": {
"h": 63.061,
"s": 41.525,
"l": 46.275
},
"oklch": {
"l": 0.70446,
"c": 0.12155,
"h": 111.8
},
"luminance": 0.35748
}Semantic roles & 50–950 ramp
primary
#A2A745
secondary
#8C89BE
accent
#56D15D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C