#A9AF27#A9AF27
#A9AF27 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.149 H 112.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A9AF27 |
|---|---|
| RGB | rgb(169, 175, 39) |
| HSL | hsl(63, 64%, 42%) |
| HSV | hsv(63, 78%, 69%) |
| CMYK | cmyk(3.4%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(68.93, -18.01, 63.34) |
| CIE-LCH | lch(68.93, 65.86, 105.87°) |
| OKLab | oklab(72.6% -0.0564 0.1383) |
| OKLCH | oklch(72.6% 0.149 112.2) |
| XYZ | xyz(32.0595, 39.2422, 7.8048) |
| Luminance | 0.3924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.62
Vomit
#A2A415
ΔE00 3.25
Puke Green
#9AAE07
ΔE00 3.33
Puke
#A5A502
ΔE00 3.39
Snot
#ACBB0D
ΔE00 3.85
Pea Soup Green
#94A617
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9AF27 #2D27AF
analogous
#AF7127 #A9AF27 #65AF27
triadic
#A9AF27 #27A9AF #AF27A9
tetradic
#A9AF27 #27AF71 #2D27AF #AF2765
square
#A9AF27 #27AF71 #2D27AF #AF2765
split-complementary
#A9AF27 #2765AF #7127AF
monochromatic
#484B11 #797D1C #A9AF27 #CED43F #DADF71
Accessibility & contrast
On white
2.37
#A9AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A9AF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9AF27
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9AF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9AF27 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#B5A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a9af27; /* rgb */ color: rgb(169, 175, 39); /* oklch */ color: oklch(72.6% 0.149 112.2);
Tailwind
colors: {
custom: {
50: '#c6c66d',
500: '#a9af27',
950: '#000000',
},
}SCSS
$custom: #a9af27; $custom-light: #c6c66d; $custom-dark: #000000;
JSON
{
"hex": "#a9af27",
"rgb": {
"r": 169,
"g": 175,
"b": 39
},
"hsl": {
"h": 62.647,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.72595,
"c": 0.14935,
"h": 112.2
},
"luminance": 0.39241
}Semantic roles & 50–950 ramp
primary
#A9AF27
secondary
#6F6BC6
accent
#41E749
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A