#A8AF30#A8AF30
#A8AF30 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.145 H 112.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF30 |
|---|---|
| RGB | rgb(168, 175, 48) |
| HSL | hsl(63, 57%, 44%) |
| HSV | hsv(63, 73%, 69%) |
| CMYK | cmyk(4%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(68.90, -18.04, 60.31) |
| CIE-LCH | lch(68.90, 62.95, 106.66°) |
| OKLab | oklab(72.57% -0.0557 0.1335) |
| OKLCH | oklch(72.57% 0.145 112.6) |
| XYZ | xyz(32.0129, 39.1989, 8.6755) |
| Luminance | 0.3920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.15
Puke Green
#9AAE07
ΔE00 3.38
Vomit
#A2A415
ΔE00 3.55
Puke
#A5A502
ΔE00 3.93
Pea Soup Green
#94A617
ΔE00 4.16
Snot
#ACBB0D
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF30 #3730AF
analogous
#AF7630 #A8AF30 #68AF30
triadic
#A8AF30 #30A8AF #AF30A8
tetradic
#A8AF30 #30AF76 #3730AF #AF3068
square
#A8AF30 #30AF76 #3730AF #AF3068
split-complementary
#A8AF30 #3068AF #7630AF
monochromatic
#4C4F16 #7A7F23 #A8AF30 #C7CE4E #D6DC7E
Accessibility & contrast
On white
2.38
#A8AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#A8AF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF30
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF30 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA718
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af30; /* rgb */ color: rgb(168, 175, 48); /* oklch */ color: oklch(72.6% 0.145 112.6);
Tailwind
colors: {
custom: {
50: '#c5c671',
500: '#a8af30',
950: '#000000',
},
}SCSS
$custom: #a8af30; $custom-light: #c5c671; $custom-dark: #000000;
JSON
{
"hex": "#a8af30",
"rgb": {
"r": 168,
"g": 175,
"b": 48
},
"hsl": {
"h": 63.307,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.72566,
"c": 0.14464,
"h": 112.6
},
"luminance": 0.39198
}Semantic roles & 50–950 ramp
primary
#A8AF30
secondary
#7B76C4
accent
#48E050
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B