#AFB53D#AFB53D
#AFB53D is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.141 H 112.1°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB53D |
|---|---|
| RGB | rgb(175, 181, 61) |
| HSL | hsl(63, 50%, 47%) |
| HSV | hsv(63, 66%, 71%) |
| CMYK | cmyk(3.3%, 0%, 66.3%, 29%) |
| CIE-LAB | lab(71.21, -17.38, 57.87) |
| CIE-LCH | lch(71.21, 60.43, 106.72°) |
| OKLab | oklab(74.59% -0.053 0.1303) |
| OKLCH | oklch(74.59% 0.141 112.1) |
| XYZ | xyz(35.0464, 42.4994, 10.7710) |
| Luminance | 0.4250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.61
Snot
#ACBB0D
ΔE00 3.96
Puke Green
#9AAE07
ΔE00 4.72
Sick Green
#9DB92C
ΔE00 4.79
Booger
#9BB53C
ΔE00 4.79
Pea
#A4BF20
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB53D #433DB5
analogous
#B57F3D #AFB53D #73B53D
triadic
#AFB53D #3DAFB5 #B53DAF
tetradic
#AFB53D #3DB57F #433DB5 #B53D73
square
#AFB53D #3DB57F #433DB5 #B53D73
split-complementary
#AFB53D #3D73B5 #7F3DB5
monochromatic
#56591E #83872E #AFB53D #C6CB64 #D7DA92
Accessibility & contrast
On white
2.21
#AFB53D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#AFB53D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB53D
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB53D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB53D | 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)
#C2AD2C
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#BBAA9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb53d; /* rgb */ color: rgb(175, 181, 61); /* oklch */ color: oklch(74.6% 0.141 112.1);
Tailwind
colors: {
custom: {
50: '#cacb79',
500: '#afb53d',
950: '#000000',
},
}SCSS
$custom: #afb53d; $custom-light: #cacb79; $custom-dark: #000000;
JSON
{
"hex": "#afb53d",
"rgb": {
"r": 175,
"g": 181,
"b": 61
},
"hsl": {
"h": 63,
"s": 49.587,
"l": 47.451
},
"oklch": {
"l": 0.74586,
"c": 0.14068,
"h": 112.1
},
"luminance": 0.42499
}Semantic roles & 50–950 ramp
primary
#AFB53D
secondary
#8B88C5
accent
#4FD956
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B