#A8AF26#A8AF26
#A8AF26 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.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF26 |
|---|---|
| RGB | rgb(168, 175, 38) |
| HSL | hsl(63, 64%, 42%) |
| HSV | hsv(63, 78%, 69%) |
| CMYK | cmyk(4%, 0%, 78.3%, 31.4%) |
| CIE-LAB | lab(68.84, -18.48, 63.54) |
| CIE-LCH | lch(68.84, 66.18, 106.22°) |
| OKLab | oklab(72.51% -0.0578 0.1386) |
| OKLCH | oklch(72.51% 0.15 112.6) |
| XYZ | xyz(31.8293, 39.1255, 7.7086) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.51
Puke Green
#9AAE07
ΔE00 3.09
Vomit
#A2A415
ΔE00 3.28
Puke
#A5A502
ΔE00 3.46
Snot
#ACBB0D
ΔE00 3.77
Barf Green
#94AC02
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF26 #2D26AF
analogous
#AF7226 #A8AF26 #64AF26
triadic
#A8AF26 #26A8AF #AF26A8
tetradic
#A8AF26 #26AF72 #2D26AF #AF2664
square
#A8AF26 #26AF72 #2D26AF #AF2664
split-complementary
#A8AF26 #2664AF #7226AF
monochromatic
#474A10 #787D1B #A8AF26 #CDD53D #DAE070
Accessibility & contrast
On white
2.38
#A8AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#A8AF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF26
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF26 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af26; /* rgb */ color: rgb(168, 175, 38); /* oklch */ color: oklch(72.5% 0.150 112.6);
Tailwind
colors: {
custom: {
50: '#c6c66d',
500: '#a8af26',
950: '#000000',
},
}SCSS
$custom: #a8af26; $custom-light: #c6c66d; $custom-dark: #000000;
JSON
{
"hex": "#a8af26",
"rgb": {
"r": 168,
"g": 175,
"b": 38
},
"hsl": {
"h": 63.066,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.72507,
"c": 0.15012,
"h": 112.6
},
"luminance": 0.39125
}Semantic roles & 50–950 ramp
primary
#A8AF26
secondary
#6F6AC7
accent
#40E749
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A