#AFAA3C#AFAA3C
#AFAA3C is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.1% C 0.130 H 106.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA3C |
|---|---|
| RGB | rgb(175, 170, 60) |
| HSL | hsl(57, 49%, 46%) |
| HSV | hsv(57, 66%, 69%) |
| CMYK | cmyk(0%, 2.9%, 65.7%, 31.4%) |
| CIE-LAB | lab(68.16, -11.80, 55.13) |
| CIE-LCH | lch(68.16, 56.38, 102.08°) |
| OKLab | oklab(72.15% -0.0374 0.1244) |
| OKLCH | oklch(72.15% 0.13 106.7) |
| XYZ | xyz(32.8707, 38.1907, 9.9141) |
| Luminance | 0.3819 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.79
Puke
#A5A502
ΔE00 4.03
Muddy Yellow
#BFAC05
ΔE00 5.85
Mustard Green
#A8B504
ΔE00 6.00
Olive Yellow
#C2B709
ΔE00 6.31
Pea Soup Green
#94A617
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA3C #3C41AF
analogous
#AF703C #AFAA3C #7AAF3C
triadic
#AFAA3C #3CAFAA #AA3CAF
tetradic
#AFAA3C #3CAF70 #3C41AF #AF3C7A
square
#AFAA3C #3CAF70 #3C41AF #AF3C7A
split-complementary
#AFAA3C #3C7AAF #703CAF
monochromatic
#54511D #817E2C #AFAA3C #C8C460 #D8D58D
Accessibility & contrast
On white
2.43
#AFAA3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#AFAA3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA3C
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA3C | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A42D
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#BB9F93
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afaa3c; /* rgb */ color: rgb(175, 170, 60); /* oklch */ color: oklch(72.1% 0.130 106.7);
Tailwind
colors: {
custom: {
50: '#cac378',
500: '#afaa3c',
950: '#000000',
},
}SCSS
$custom: #afaa3c; $custom-light: #cac378; $custom-dark: #000000;
JSON
{
"hex": "#afaa3c",
"rgb": {
"r": 175,
"g": 170,
"b": 60
},
"hsl": {
"h": 57.391,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.72146,
"c": 0.12987,
"h": 106.7
},
"luminance": 0.3819
}Semantic roles & 50–950 ramp
primary
#AFAA3C
secondary
#8487C3
accent
#55D84F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B