#A0AF2E#A0AF2E
#A0AF2E is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.148 H 116.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A0AF2E |
|---|---|
| RGB | rgb(160, 175, 46) |
| HSL | hsl(67, 58%, 43%) |
| HSV | hsv(67, 74%, 69%) |
| CMYK | cmyk(8.6%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(68.26, -21.56, 60.19) |
| CIE-LCH | lch(68.26, 63.94, 109.71°) |
| OKLab | oklab(71.9% -0.0652 0.1332) |
| OKLCH | oklch(71.9% 0.148 116.1) |
| XYZ | xyz(30.3211, 38.3312, 8.3856) |
| Luminance | 0.3833 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.24
Barf Green
#94AC02
ΔE00 2.83
Pea Soup Green
#94A617
ΔE00 3.04
Sickly Green
#94B21C
ΔE00 3.10
Booger
#9BB53C
ΔE00 3.14
Sick Green
#9DB92C
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0AF2E #3D2EAF
analogous
#AF7D2E #A0AF2E #5FAF2E
triadic
#A0AF2E #2EA0AF #AF2EA0
tetradic
#A0AF2E #2EAF7D #3D2EAF #AF2E5F
square
#A0AF2E #2EAF7D #3D2EAF #AF2E5F
split-complementary
#A0AF2E #2E5FAF #7D2EAF
monochromatic
#474E15 #747F21 #A0AF2E #C0D04B #D1DC7B
Accessibility & contrast
On white
2.42
#A0AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#A0AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0AF2E
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0AF2E | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA613
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#AAA596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #a0af2e; /* rgb */ color: rgb(160, 175, 46); /* oklch */ color: oklch(71.9% 0.148 116.1);
Tailwind
colors: {
custom: {
50: '#bfc670',
500: '#a0af2e',
950: '#000000',
},
}SCSS
$custom: #a0af2e; $custom-light: #bfc670; $custom-dark: #000000;
JSON
{
"hex": "#a0af2e",
"rgb": {
"r": 160,
"g": 175,
"b": 46
},
"hsl": {
"h": 66.977,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.71903,
"c": 0.14826,
"h": 116.1
},
"luminance": 0.38331
}Semantic roles & 50–950 ramp
primary
#A0AF2E
secondary
#7D74C5
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B