#AFB53E#AFB53E
#AFB53E is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.140 H 112.1°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB53E |
|---|---|
| RGB | rgb(175, 181, 62) |
| HSL | hsl(63, 49%, 48%) |
| HSV | hsv(63, 66%, 71%) |
| CMYK | cmyk(3.3%, 0%, 65.7%, 29%) |
| CIE-LAB | lab(71.22, -17.32, 57.48) |
| CIE-LCH | lch(71.22, 60.03, 106.77°) |
| OKLab | oklab(74.59% -0.0527 0.1296) |
| OKLCH | oklch(74.59% 0.14 112.1) |
| XYZ | xyz(35.0736, 42.5103, 10.9142) |
| Luminance | 0.4251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.72
Snot
#ACBB0D
ΔE00 4.05
Booger
#9BB53C
ΔE00 4.76
Puke Green
#9AAE07
ΔE00 4.78
Sick Green
#9DB92C
ΔE00 4.80
Pea
#A4BF20
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB53E #443EB5
analogous
#B57F3E #AFB53E #74B53E
triadic
#AFB53E #3EAFB5 #B53EAF
tetradic
#AFB53E #3EB57F #443EB5 #B53E74
square
#AFB53E #3EB57F #443EB5 #B53E74
split-complementary
#AFB53E #3E74B5 #7F3EB5
monochromatic
#575A1F #83872E #AFB53E #C5CA66 #D7DA93
Accessibility & contrast
On white
2.21
#AFB53E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#AFB53E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB53E
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB53E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB53E | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#BBAA9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb53e; /* rgb */ color: rgb(175, 181, 62); /* oklch */ color: oklch(74.6% 0.140 112.1);
Tailwind
colors: {
custom: {
50: '#cacb7a',
500: '#afb53e',
950: '#000000',
},
}SCSS
$custom: #afb53e; $custom-light: #cacb7a; $custom-dark: #000000;
JSON
{
"hex": "#afb53e",
"rgb": {
"r": 175,
"g": 181,
"b": 62
},
"hsl": {
"h": 63.025,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.74594,
"c": 0.13995,
"h": 112.1
},
"luminance": 0.4251
}Semantic roles & 50–950 ramp
primary
#AFB53E
secondary
#8C89C5
accent
#4FD956
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C