#AFAF3D#AFAF3D
#AFAF3D is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.134 H 109.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAF3D |
|---|---|
| RGB | rgb(175, 175, 61) |
| HSL | hsl(60, 48%, 46%) |
| HSV | hsv(60, 65%, 69%) |
| CMYK | cmyk(0%, 0%, 65.1%, 31.4%) |
| CIE-LAB | lab(69.55, -14.32, 56.15) |
| CIE-LCH | lch(69.55, 57.95, 104.31°) |
| OKLab | oklab(73.26% -0.0444 0.1267) |
| OKLCH | oklch(73.26% 0.134 109.3) |
| XYZ | xyz(33.8526, 40.1118, 10.3731) |
| Luminance | 0.4011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.16
Puke
#A5A502
ΔE00 4.42
Mustard Green
#A8B504
ΔE00 4.68
Puke Green
#9AAE07
ΔE00 5.40
Snot
#ACBB0D
ΔE00 5.48
Pea Soup Green
#94A617
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAF3D #3D3DAF
analogous
#AF763D #AFAF3D #76AF3D
triadic
#AFAF3D #3DAFAF #AF3DAF
tetradic
#AFAF3D #3DAF76 #3D3DAF #AF3D76
square
#AFAF3D #3DAF76 #3D3DAF #AF3D76
split-complementary
#AFAF3D #3D76AF #763DAF
monochromatic
#54541D #82822D #AFAF3D #C8C861 #D8D88F
Accessibility & contrast
On white
2.33
#AFAF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#AFAF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAF3D
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAF3D | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA82E
Deuteranopia (green-blind)
#BEAC44
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afaf3d; /* rgb */ color: rgb(175, 175, 61); /* oklch */ color: oklch(73.3% 0.134 109.3);
Tailwind
colors: {
custom: {
50: '#cac679',
500: '#afaf3d',
950: '#000000',
},
}SCSS
$custom: #afaf3d; $custom-light: #cac679; $custom-dark: #000000;
JSON
{
"hex": "#afaf3d",
"rgb": {
"r": 175,
"g": 175,
"b": 61
},
"hsl": {
"h": 60,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.73256,
"c": 0.13426,
"h": 109.3
},
"luminance": 0.40111
}Semantic roles & 50–950 ramp
primary
#AFAF3D
secondary
#8585C3
accent
#50D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B