#AFB539#AFB539
#AFB539 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.143 H 112.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB539 |
|---|---|
| RGB | rgb(175, 181, 57) |
| HSL | hsl(63, 52%, 47%) |
| HSV | hsv(63, 69%, 71%) |
| CMYK | cmyk(3.3%, 0%, 68.5%, 29%) |
| CIE-LAB | lab(71.19, -17.61, 59.41) |
| CIE-LCH | lch(71.19, 61.97, 106.51°) |
| OKLab | oklab(74.55% -0.054 0.1329) |
| OKLCH | oklch(74.55% 0.143 112.1) |
| XYZ | xyz(34.9426, 42.4579, 10.2246) |
| Luminance | 0.4246 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.23
Snot
#ACBB0D
ΔE00 3.61
Puke Green
#9AAE07
ΔE00 4.52
Sick Green
#9DB92C
ΔE00 4.76
Booger
#9BB53C
ΔE00 4.92
Pea
#A4BF20
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB539 #3F39B5
analogous
#B57D39 #AFB539 #71B539
triadic
#AFB539 #39AFB5 #B539AF
tetradic
#AFB539 #39B57D #3F39B5 #B53971
square
#AFB539 #39B57D #3F39B5 #B53971
split-complementary
#AFB539 #3971B5 #7D39B5
monochromatic
#55581C #82862A #AFB539 #C7CD5F #D7DB8D
Accessibility & contrast
On white
2.21
#AFB539 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#AFB539 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB539
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB539 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB539 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#BBAA9C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb539; /* rgb */ color: rgb(175, 181, 57); /* oklch */ color: oklch(74.6% 0.143 112.1);
Tailwind
colors: {
custom: {
50: '#cacb77',
500: '#afb539',
950: '#000000',
},
}SCSS
$custom: #afb539; $custom-light: #cacb77; $custom-dark: #000000;
JSON
{
"hex": "#afb539",
"rgb": {
"r": 175,
"g": 181,
"b": 57
},
"hsl": {
"h": 62.903,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.74554,
"c": 0.14349,
"h": 112.1
},
"luminance": 0.42457
}Semantic roles & 50–950 ramp
primary
#AFB539
secondary
#8784C6
accent
#4CDC53
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B