#AFAF43#AFAF43
#AFAF43 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.130 H 109.2°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAF43 |
|---|---|
| RGB | rgb(175, 175, 67) |
| HSL | hsl(60, 45%, 47%) |
| HSV | hsv(60, 62%, 69%) |
| CMYK | cmyk(0%, 0%, 61.7%, 31.4%) |
| CIE-LAB | lab(69.60, -13.94, 53.67) |
| CIE-LCH | lch(69.60, 55.45, 104.56°) |
| OKLab | oklab(73.31% -0.0426 0.1224) |
| OKLCH | oklch(73.31% 0.13 109.2) |
| XYZ | xyz(34.0233, 40.1801, 11.2724) |
| Luminance | 0.4018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.61
Puke
#A5A502
ΔE00 4.98
Mustard Green
#A8B504
ΔE00 5.25
Darkkhaki
#BDB76B
ΔE00 5.71
Puke Green
#9AAE07
ΔE00 5.79
Snot
#ACBB0D
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAF43 #4343AF
analogous
#AF7943 #AFAF43 #79AF43
triadic
#AFAF43 #43AFAF #AF43AF
tetradic
#AFAF43 #43AF79 #4343AF #AF4379
square
#AFAF43 #43AF79 #4343AF #AF4379
split-complementary
#AFAF43 #4379AF #7943AF
monochromatic
#565621 #838332 #AFAF43 #C6C669 #D7D796
Accessibility & contrast
On white
2.32
#AFAF43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#AFAF43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAF43
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAF43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAF43 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA836
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afaf43; /* rgb */ color: rgb(175, 175, 67); /* oklch */ color: oklch(73.3% 0.130 109.2);
Tailwind
colors: {
custom: {
50: '#cac67c',
500: '#afaf43',
950: '#000000',
},
}SCSS
$custom: #afaf43; $custom-light: #cac67c; $custom-dark: #000000;
JSON
{
"hex": "#afaf43",
"rgb": {
"r": 175,
"g": 175,
"b": 67
},
"hsl": {
"h": 60,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.7331,
"c": 0.12959,
"h": 109.2
},
"luminance": 0.40179
}Semantic roles & 50–950 ramp
primary
#AFAF43
secondary
#8B8BC2
accent
#53D453
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C