#A0AF2B#A0AF2B
#A0AF2B is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.150 H 116.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A0AF2B |
|---|---|
| RGB | rgb(160, 175, 43) |
| HSL | hsl(67, 61%, 43%) |
| HSV | hsv(67, 75%, 69%) |
| CMYK | cmyk(8.6%, 0%, 75.4%, 31.4%) |
| CIE-LAB | lab(68.25, -21.71, 61.19) |
| CIE-LCH | lch(68.25, 64.93, 109.53°) |
| OKLab | oklab(71.88% -0.0659 0.1347) |
| OKLCH | oklch(71.88% 0.15 116.1) |
| XYZ | xyz(30.2640, 38.3084, 8.0850) |
| Luminance | 0.3831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.01
Barf Green
#94AC02
ΔE00 2.68
Pea Soup Green
#94A617
ΔE00 2.97
Sickly Green
#94B21C
ΔE00 3.07
Mustard Green
#A8B504
ΔE00 3.25
Booger
#9BB53C
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0AF2B #3A2BAF
analogous
#AF7C2B #A0AF2B #5EAF2B
triadic
#A0AF2B #2BA0AF #AF2BA0
tetradic
#A0AF2B #2BAF7C #3A2BAF #AF2B5E
square
#A0AF2B #2BAF7C #3A2BAF #AF2B5E
split-complementary
#A0AF2B #2B5EAF #7C2BAF
monochromatic
#464D13 #737E1F #A0AF2B #C2D146 #D2DE77
Accessibility & contrast
On white
2.42
#A0AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#A0AF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0AF2B
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0AF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0AF2B | 1.00 | 2.42 | 8.66 | 8.66 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA60B
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#AAA596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #a0af2b; /* rgb */ color: rgb(160, 175, 43); /* oklch */ color: oklch(71.9% 0.150 116.1);
Tailwind
colors: {
custom: {
50: '#c0c66f',
500: '#a0af2b',
950: '#000000',
},
}SCSS
$custom: #a0af2b; $custom-light: #c0c66f; $custom-dark: #000000;
JSON
{
"hex": "#a0af2b",
"rgb": {
"r": 160,
"g": 175,
"b": 43
},
"hsl": {
"h": 66.818,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.71884,
"c": 0.14998,
"h": 116.1
},
"luminance": 0.38308
}Semantic roles & 50–950 ramp
primary
#A0AF2B
secondary
#7A70C5
accent
#44E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B