#AFB850#AFB850
#AFB850 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.129 H 113.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB850 |
|---|---|
| RGB | rgb(175, 184, 80) |
| HSL | hsl(65, 42%, 52%) |
| HSV | hsv(65, 57%, 72%) |
| CMYK | cmyk(4.9%, 0%, 56.5%, 27.8%) |
| CIE-LAB | lab(72.21, -17.56, 50.75) |
| CIE-LCH | lch(72.21, 53.70, 109.09°) |
| OKLab | oklab(75.44% -0.0515 0.1178) |
| OKLCH | oklch(75.44% 0.129 113.6) |
| XYZ | xyz(36.2684, 43.9748, 14.1653) |
| Luminance | 0.4397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.30
Light Olive Green
#A4BE5C
ΔE00 4.49
Light Olive
#ACBF69
ΔE00 4.52
Sick Green
#9DB92C
ΔE00 4.99
Darkkhaki
#BDB76B
ΔE00 5.54
Snot
#ACBB0D
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB850 #5950B8
analogous
#B88D50 #AFB850 #7BB850
triadic
#AFB850 #50AFB8 #B850AF
tetradic
#AFB850 #50B88D #5950B8 #B8507B
square
#AFB850 #50B88D #5950B8 #B8507B
split-complementary
#AFB850 #507BB8 #8D50B8
monochromatic
#606529 #89903B #AFB850 #C3CA7C #D7DBA7
Accessibility & contrast
On white
2.14
#AFB850 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#AFB850 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB850
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB850 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB850 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B045
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#B9AEA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb850; /* rgb */ color: rgb(175, 184, 80); /* oklch */ color: oklch(75.4% 0.129 113.6);
Tailwind
colors: {
custom: {
50: '#c9cd85',
500: '#afb850',
950: '#000000',
},
}SCSS
$custom: #afb850; $custom-light: #c9cd85; $custom-dark: #000000;
JSON
{
"hex": "#afb850",
"rgb": {
"r": 175,
"g": 184,
"b": 80
},
"hsl": {
"h": 65.192,
"s": 42.276,
"l": 51.765
},
"oklch": {
"l": 0.75437,
"c": 0.12859,
"h": 113.6
},
"luminance": 0.43974
}Semantic roles & 50–950 ramp
primary
#AFB850
secondary
#9F9BC9
accent
#56D260
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C