#AFA436#AFA436
#AFA436 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.128 H 103.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA436 |
|---|---|
| RGB | rgb(175, 164, 54) |
| HSL | hsl(55, 53%, 45%) |
| HSV | hsv(55, 69%, 69%) |
| CMYK | cmyk(0%, 6.3%, 69.1%, 31.4%) |
| CIE-LAB | lab(66.47, -9.01, 55.85) |
| CIE-LCH | lch(66.47, 56.57, 99.16°) |
| OKLab | oklab(70.79% -0.0301 0.1249) |
| OKLCH | oklch(70.79% 0.128 103.6) |
| XYZ | xyz(31.6218, 35.9325, 8.7593) |
| Luminance | 0.3593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.16
Puke
#A5A502
ΔE00 4.23
Muddy Yellow
#BFAC05
ΔE00 5.26
Brown Yellow
#B29705
ΔE00 6.12
Pea Soup
#929901
ΔE00 6.83
Khaki (survey)
#AAA662
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA436 #3641AF
analogous
#AF6736 #AFA436 #7EAF36
triadic
#AFA436 #36AFA4 #A436AF
tetradic
#AFA436 #36AF67 #3641AF #AF367E
square
#AFA436 #36AF67 #3641AF #AF367E
split-complementary
#AFA436 #367EAF #6736AF
monochromatic
#514C19 #807828 #AFA436 #CBC157 #DAD286
Accessibility & contrast
On white
2.57
#AFA436 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#AFA436 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA436
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA436 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA436 | 1.00 | 2.57 | 8.19 | 8.19 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#BC998E
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa436; /* rgb */ color: rgb(175, 164, 54); /* oklch */ color: oklch(70.8% 0.128 103.6);
Tailwind
colors: {
custom: {
50: '#cabe74',
500: '#afa436',
950: '#000000',
},
}SCSS
$custom: #afa436; $custom-light: #cabe74; $custom-dark: #000000;
JSON
{
"hex": "#afa436",
"rgb": {
"r": 175,
"g": 164,
"b": 54
},
"hsl": {
"h": 54.545,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.70785,
"c": 0.12848,
"h": 103.6
},
"luminance": 0.35931
}Semantic roles & 50–950 ramp
primary
#AFA436
secondary
#7D84C3
accent
#59DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B