#A0AF30#A0AF30
#A0AF30 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.147 H 116.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A0AF30 |
|---|---|
| RGB | rgb(160, 175, 48) |
| HSL | hsl(67, 57%, 44%) |
| HSV | hsv(67, 73%, 69%) |
| CMYK | cmyk(8.6%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(68.28, -21.46, 59.50) |
| CIE-LCH | lch(68.28, 63.25, 109.84°) |
| OKLab | oklab(71.92% -0.0648 0.132) |
| OKLCH | oklch(71.92% 0.147 116.1) |
| XYZ | xyz(30.3615, 38.3474, 8.5981) |
| Luminance | 0.3835 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.41
Barf Green
#94AC02
ΔE00 2.95
Booger
#9BB53C
ΔE00 3.04
Pea Soup Green
#94A617
ΔE00 3.10
Sickly Green
#94B21C
ΔE00 3.14
Sick Green
#9DB92C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0AF30 #3F30AF
analogous
#AF7E30 #A0AF30 #60AF30
triadic
#A0AF30 #30A0AF #AF30A0
tetradic
#A0AF30 #30AF7E #3F30AF #AF3060
square
#A0AF30 #30AF7E #3F30AF #AF3060
split-complementary
#A0AF30 #3060AF #7E30AF
monochromatic
#484F16 #747F23 #A0AF30 #BFCE4E #D0DC7E
Accessibility & contrast
On white
2.42
#A0AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#A0AF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0AF30
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0AF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0AF30 | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA618
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#AAA596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #a0af30; /* rgb */ color: rgb(160, 175, 48); /* oklch */ color: oklch(71.9% 0.147 116.1);
Tailwind
colors: {
custom: {
50: '#bfc671',
500: '#a0af30',
950: '#000000',
},
}SCSS
$custom: #a0af30; $custom-light: #bfc671; $custom-dark: #000000;
JSON
{
"hex": "#a0af30",
"rgb": {
"r": 160,
"g": 175,
"b": 48
},
"hsl": {
"h": 67.087,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.71916,
"c": 0.14706,
"h": 116.1
},
"luminance": 0.38347
}Semantic roles & 50–950 ramp
primary
#A0AF30
secondary
#8076C4
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B