#AFB954#AFB954
#AFB954 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.7% C 0.126 H 114.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB954 |
|---|---|
| RGB | rgb(175, 185, 84) |
| HSL | hsl(66, 42%, 53%) |
| HSV | hsv(66, 55%, 73%) |
| CMYK | cmyk(5.4%, 0%, 54.6%, 27.5%) |
| CIE-LAB | lab(72.53, -17.74, 49.26) |
| CIE-LCH | lch(72.53, 52.36, 109.80°) |
| OKLab | oklab(75.7% -0.0516 0.1151) |
| OKLCH | oklch(75.7% 0.126 114.1) |
| XYZ | xyz(36.6291, 44.4526, 15.0364) |
| Luminance | 0.4445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 3.92
Light Olive Green
#A4BE5C
ΔE00 4.02
Booger
#9BB53C
ΔE00 4.35
Sick Green
#9DB92C
ΔE00 5.17
Tan Green
#A9BE70
ΔE00 5.35
Darkkhaki
#BDB76B
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB954 #5E54B9
analogous
#B99154 #AFB954 #7CB954
triadic
#AFB954 #54AFB9 #B954AF
tetradic
#AFB954 #54B991 #5E54B9 #B9547C
square
#AFB954 #54B991 #5E54B9 #B9547C
split-complementary
#AFB954 #547CB9 #9154B9
monochromatic
#62682B #8B933C #AFB954 #C3CB7F #D8DDAB
Accessibility & contrast
On white
2.12
#AFB954 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#AFB954 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB954
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB954 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB954 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B14A
Deuteranopia (green-blind)
#C4B35A
Tritanopia (blue-blind)
#B9AFA3
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afb954; /* rgb */ color: rgb(175, 185, 84); /* oklch */ color: oklch(75.7% 0.126 114.1);
Tailwind
colors: {
custom: {
50: '#c9cd87',
500: '#afb954',
950: '#000000',
},
}SCSS
$custom: #afb954; $custom-light: #c9cd87; $custom-dark: #000000;
JSON
{
"hex": "#afb954",
"rgb": {
"r": 175,
"g": 185,
"b": 84
},
"hsl": {
"h": 65.941,
"s": 41.909,
"l": 52.745
},
"oklch": {
"l": 0.75704,
"c": 0.1261,
"h": 114.1
},
"luminance": 0.44452
}Semantic roles & 50–950 ramp
primary
#AFB954
secondary
#A39FCA
accent
#56D262
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C