#A8AF27#A8AF27
#A8AF27 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.150 H 112.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF27 |
|---|---|
| RGB | rgb(168, 175, 39) |
| HSL | hsl(63, 64%, 42%) |
| HSV | hsv(63, 78%, 69%) |
| CMYK | cmyk(4%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(68.85, -18.44, 63.24) |
| CIE-LCH | lch(68.85, 65.88, 106.26°) |
| OKLab | oklab(72.51% -0.0576 0.1381) |
| OKLCH | oklch(72.51% 0.15 112.6) |
| XYZ | xyz(31.8457, 39.1320, 7.7947) |
| Luminance | 0.3913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.56
Puke Green
#9AAE07
ΔE00 3.10
Vomit
#A2A415
ΔE00 3.29
Puke
#A5A502
ΔE00 3.49
Snot
#ACBB0D
ΔE00 3.80
Barf Green
#94AC02
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF27 #2E27AF
analogous
#AF7227 #A8AF27 #64AF27
triadic
#A8AF27 #27A8AF #AF27A8
tetradic
#A8AF27 #27AF72 #2E27AF #AF2764
square
#A8AF27 #27AF72 #2E27AF #AF2764
split-complementary
#A8AF27 #2764AF #7227AF
monochromatic
#484B11 #787D1C #A8AF27 #CDD43F #DADF71
Accessibility & contrast
On white
2.38
#A8AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A8AF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF27
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF27 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af27; /* rgb */ color: rgb(168, 175, 39); /* oklch */ color: oklch(72.5% 0.150 112.6);
Tailwind
colors: {
custom: {
50: '#c6c66d',
500: '#a8af27',
950: '#000000',
},
}SCSS
$custom: #a8af27; $custom-light: #c6c66d; $custom-dark: #000000;
JSON
{
"hex": "#a8af27",
"rgb": {
"r": 168,
"g": 175,
"b": 39
},
"hsl": {
"h": 63.088,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.72512,
"c": 0.14963,
"h": 112.6
},
"luminance": 0.39131
}Semantic roles & 50–950 ramp
primary
#A8AF27
secondary
#706BC6
accent
#41E74A
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A