#AFAD2C#AFAD2C
#AFAD2C is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.7% C 0.143 H 108.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAD2C |
|---|---|
| RGB | rgb(175, 173, 44) |
| HSL | hsl(59, 60%, 43%) |
| HSV | hsv(59, 75%, 69%) |
| CMYK | cmyk(0%, 1.1%, 74.9%, 31.4%) |
| CIE-LAB | lab(68.88, -14.18, 61.88) |
| CIE-LCH | lch(68.88, 63.49, 102.91°) |
| OKLab | oklab(72.69% -0.0457 0.1359) |
| OKLCH | oklch(72.69% 0.143 108.6) |
| XYZ | xyz(33.0787, 39.1840, 8.2032) |
| Luminance | 0.3918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.99
Vomit
#A2A415
ΔE00 3.13
Mustard Green
#A8B504
ΔE00 4.17
Olive Yellow
#C2B709
ΔE00 4.95
Puke Green
#9AAE07
ΔE00 5.21
Muddy Yellow
#BFAC05
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAD2C #2C2EAF
analogous
#AF6B2C #AFAD2C #6FAF2C
triadic
#AFAD2C #2CAFAD #AD2CAF
tetradic
#AFAD2C #2CAF6B #2C2EAF #AF2C6F
square
#AFAD2C #2CAF6B #2C2EAF #AF2C6F
split-complementary
#AFAD2C #2C6FAF #6B2CAF
monochromatic
#4D4C13 #7E7D20 #AFAD2C #D1CF47 #DDDC78
Accessibility & contrast
On white
2.38
#AFAD2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#AFAD2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAD2C
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAD2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAD2C | 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)
#BCA60F
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#BCA295
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afad2c; /* rgb */ color: rgb(175, 173, 44); /* oklch */ color: oklch(72.7% 0.143 108.6);
Tailwind
colors: {
custom: {
50: '#cbc56f',
500: '#afad2c',
950: '#000000',
},
}SCSS
$custom: #afad2c; $custom-light: #cbc56f; $custom-dark: #000000;
JSON
{
"hex": "#afad2c",
"rgb": {
"r": 175,
"g": 173,
"b": 44
},
"hsl": {
"h": 59.084,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.7269,
"c": 0.14332,
"h": 108.6
},
"luminance": 0.39183
}Semantic roles & 50–950 ramp
primary
#AFAD2C
secondary
#7273C5
accent
#47E345
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B