#AFAC3D#AFAC3D
#AFAC3D is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.6% C 0.131 H 107.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAC3D |
|---|---|
| RGB | rgb(175, 172, 61) |
| HSL | hsl(58, 48%, 46%) |
| HSV | hsv(58, 65%, 69%) |
| CMYK | cmyk(0%, 1.7%, 65.1%, 31.4%) |
| CIE-LAB | lab(68.72, -12.78, 55.29) |
| CIE-LCH | lch(68.72, 56.75, 103.01°) |
| OKLab | oklab(72.59% -0.04 0.1249) |
| OKLCH | oklch(72.59% 0.131 107.8) |
| XYZ | xyz(33.2752, 38.9570, 10.1806) |
| Luminance | 0.3896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.88
Puke
#A5A502
ΔE00 4.15
Mustard Green
#A8B504
ΔE00 5.48
Puke Green
#9AAE07
ΔE00 6.03
Pea Soup Green
#94A617
ΔE00 6.09
Muddy Yellow
#BFAC05
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAC3D #3D40AF
analogous
#AF733D #AFAC3D #79AF3D
triadic
#AFAC3D #3DAFAC #AC3DAF
tetradic
#AFAC3D #3DAF73 #3D40AF #AF3D79
square
#AFAC3D #3DAF73 #3D40AF #AF3D79
split-complementary
#AFAC3D #3D79AF #733DAF
monochromatic
#54531D #827F2D #AFAC3D #C8C561 #D8D68F
Accessibility & contrast
On white
2.39
#AFAC3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#AFAC3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAC3D
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAC3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAC3D | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA52E
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#BBA195
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afac3d; /* rgb */ color: rgb(175, 172, 61); /* oklch */ color: oklch(72.6% 0.131 107.8);
Tailwind
colors: {
custom: {
50: '#cac478',
500: '#afac3d',
950: '#000000',
},
}SCSS
$custom: #afac3d; $custom-light: #cac478; $custom-dark: #000000;
JSON
{
"hex": "#afac3d",
"rgb": {
"r": 175,
"g": 172,
"b": 61
},
"hsl": {
"h": 58.421,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.72594,
"c": 0.13114,
"h": 107.8
},
"luminance": 0.38956
}Semantic roles & 50–950 ramp
primary
#AFAC3D
secondary
#8587C3
accent
#53D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B