#AFB852#AFB852
#AFB852 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.127 H 113.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB852 |
|---|---|
| RGB | rgb(175, 184, 82) |
| HSL | hsl(65, 42%, 52%) |
| HSV | hsv(65, 55%, 72%) |
| CMYK | cmyk(4.9%, 0%, 55.4%, 27.8%) |
| CIE-LAB | lab(72.23, -17.40, 49.85) |
| CIE-LCH | lch(72.23, 52.80, 109.24°) |
| OKLab | oklab(75.46% -0.0508 0.1161) |
| OKLCH | oklch(75.46% 0.127 113.6) |
| XYZ | xyz(36.3434, 44.0048, 14.5602) |
| Luminance | 0.4400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 4.30
Light Olive Green
#A4BE5C
ΔE00 4.36
Booger
#9BB53C
ΔE00 4.38
Sick Green
#9DB92C
ΔE00 5.16
Darkkhaki
#BDB76B
ΔE00 5.37
Tan Green
#A9BE70
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB852 #5B52B8
analogous
#B88E52 #AFB852 #7CB852
triadic
#AFB852 #52AFB8 #B852AF
tetradic
#AFB852 #52B88E #5B52B8 #B8527C
square
#AFB852 #52B88E #5B52B8 #B8527C
split-complementary
#AFB852 #527CB8 #8E52B8
monochromatic
#61662A #8A913C #AFB852 #C3CA7D #D7DCA9
Accessibility & contrast
On white
2.14
#AFB852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#AFB852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB852
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB852 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C4B258
Tritanopia (blue-blind)
#B9AEA2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb852; /* rgb */ color: rgb(175, 184, 82); /* oklch */ color: oklch(75.5% 0.127 113.6);
Tailwind
colors: {
custom: {
50: '#c9cd86',
500: '#afb852',
950: '#000000',
},
}SCSS
$custom: #afb852; $custom-light: #c9cd86; $custom-dark: #000000;
JSON
{
"hex": "#afb852",
"rgb": {
"r": 175,
"g": 184,
"b": 82
},
"hsl": {
"h": 65.294,
"s": 41.803,
"l": 52.157
},
"oklch": {
"l": 0.75459,
"c": 0.12676,
"h": 113.6
},
"luminance": 0.44004
}Semantic roles & 50–950 ramp
primary
#AFB852
secondary
#A19DC9
accent
#56D261
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C