#A8AF34#A8AF34
#A8AF34 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.142 H 112.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF34 |
|---|---|
| RGB | rgb(168, 175, 52) |
| HSL | hsl(63, 54%, 45%) |
| HSV | hsv(63, 70%, 69%) |
| CMYK | cmyk(4%, 0%, 70.3%, 31.4%) |
| CIE-LAB | lab(68.92, -17.84, 58.88) |
| CIE-LCH | lch(68.92, 61.52, 106.86°) |
| OKLab | oklab(72.59% -0.0547 0.1312) |
| OKLCH | oklch(72.59% 0.142 112.7) |
| XYZ | xyz(32.0992, 39.2334, 9.1300) |
| Luminance | 0.3923 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.48
Puke Green
#9AAE07
ΔE00 3.59
Vomit
#A2A415
ΔE00 3.74
Puke
#A5A502
ΔE00 4.18
Pea Soup Green
#94A617
ΔE00 4.22
Barf Green
#94AC02
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF34 #3B34AF
analogous
#AF7934 #A8AF34 #6AAF34
triadic
#A8AF34 #34A8AF #AF34A8
tetradic
#A8AF34 #34AF79 #3B34AF #AF346A
square
#A8AF34 #34AF79 #3B34AF #AF346A
split-complementary
#A8AF34 #346AAF #7934AF
monochromatic
#4D5118 #7B8026 #A8AF34 #C5CC54 #D5DA83
Accessibility & contrast
On white
2.37
#A8AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A8AF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF34
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF34 | 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)
#BCA71F
Deuteranopia (green-blind)
#BCAA3D
Tritanopia (blue-blind)
#B3A497
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af34; /* rgb */ color: rgb(168, 175, 52); /* oklch */ color: oklch(72.6% 0.142 112.7);
Tailwind
colors: {
custom: {
50: '#c5c674',
500: '#a8af34',
950: '#000000',
},
}SCSS
$custom: #a8af34; $custom-light: #c5c674; $custom-dark: #000000;
JSON
{
"hex": "#a8af34",
"rgb": {
"r": 168,
"g": 175,
"b": 52
},
"hsl": {
"h": 63.415,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.72594,
"c": 0.14213,
"h": 112.7
},
"luminance": 0.39233
}Semantic roles & 50–950 ramp
primary
#A8AF34
secondary
#7F7BC4
accent
#4ADE53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B