#AFAF3F#AFAF3F
#AFAF3F is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.133 H 109.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAF3F |
|---|---|
| RGB | rgb(175, 175, 63) |
| HSL | hsl(60, 47%, 47%) |
| HSV | hsv(60, 64%, 69%) |
| CMYK | cmyk(0%, 0%, 64%, 31.4%) |
| CIE-LAB | lab(69.56, -14.20, 55.34) |
| CIE-LCH | lch(69.56, 57.13, 104.39°) |
| OKLab | oklab(73.27% -0.0438 0.1253) |
| OKLCH | oklch(73.27% 0.133 109.3) |
| XYZ | xyz(33.9075, 40.1337, 10.6621) |
| Luminance | 0.4013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.30
Puke
#A5A502
ΔE00 4.59
Mustard Green
#A8B504
ΔE00 4.86
Puke Green
#9AAE07
ΔE00 5.52
Snot
#ACBB0D
ΔE00 5.63
Pea Soup Green
#94A617
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAF3F #3F3FAF
analogous
#AF773F #AFAF3F #77AF3F
triadic
#AFAF3F #3FAFAF #AF3FAF
tetradic
#AFAF3F #3FAF77 #3F3FAF #AF3F77
square
#AFAF3F #3FAF77 #3F3FAF #AF3F77
split-complementary
#AFAF3F #3F77AF #773FAF
monochromatic
#55551F #82822F #AFAF3F #C7C764 #D7D791
Accessibility & contrast
On white
2.33
#AFAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#AFAF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAF3F
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAF3F | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA830
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afaf3f; /* rgb */ color: rgb(175, 175, 63); /* oklch */ color: oklch(73.3% 0.133 109.3);
Tailwind
colors: {
custom: {
50: '#cac67a',
500: '#afaf3f',
950: '#000000',
},
}SCSS
$custom: #afaf3f; $custom-light: #cac67a; $custom-dark: #000000;
JSON
{
"hex": "#afaf3f",
"rgb": {
"r": 175,
"g": 175,
"b": 63
},
"hsl": {
"h": 60,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.73273,
"c": 0.13274,
"h": 109.3
},
"luminance": 0.40133
}Semantic roles & 50–950 ramp
primary
#AFAF3F
secondary
#8787C3
accent
#51D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B