#AFBD3C#AFBD3C
#AFBD3C is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.150 H 115.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD3C |
|---|---|
| RGB | rgb(175, 189, 60) |
| HSL | hsl(67, 52%, 49%) |
| HSV | hsv(67, 68%, 74%) |
| CMYK | cmyk(7.4%, 0%, 68.3%, 25.9%) |
| CIE-LAB | lab(73.44, -21.44, 60.53) |
| CIE-LCH | lch(73.44, 64.21, 109.51°) |
| OKLab | oklab(76.37% -0.0644 0.1358) |
| OKLCH | oklch(76.37% 0.15 115.4) |
| XYZ | xyz(36.6933, 45.8360, 11.1883) |
| Luminance | 0.4583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.02
Pea
#A4BF20
ΔE00 3.03
Sick Green
#9DB92C
ΔE00 3.42
Mustard Green
#A8B504
ΔE00 3.69
Gross Green
#A0BF16
ΔE00 3.80
Bile
#B5C306
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD3C #4A3CBD
analogous
#BD8B3C #AFBD3C #6FBD3C
triadic
#AFBD3C #3CAFBD #BD3CAF
tetradic
#AFBD3C #3CBD8B #4A3CBD #BD3C6F
square
#AFBD3C #3CBD8B #4A3CBD #BD3C6F
split-complementary
#AFBD3C #3C6FBD #8B3CBD
monochromatic
#59601F #848F2D #AFBD3C #C4CF67 #D6DE96
Accessibility & contrast
On white
2.07
#AFBD3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#AFBD3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD3C
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD3C | 1.00 | 2.07 | 10.17 | 10.17 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB428
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd3c; /* rgb */ color: rgb(175, 189, 60); /* oklch */ color: oklch(76.4% 0.150 115.4);
Tailwind
colors: {
custom: {
50: '#cad079',
500: '#afbd3c',
950: '#000000',
},
}SCSS
$custom: #afbd3c; $custom-light: #cad079; $custom-dark: #000000;
JSON
{
"hex": "#afbd3c",
"rgb": {
"r": 175,
"g": 189,
"b": 60
},
"hsl": {
"h": 66.512,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.76366,
"c": 0.15027,
"h": 115.4
},
"luminance": 0.45835
}Semantic roles & 50–950 ramp
primary
#AFBD3C
secondary
#928CC9
accent
#4DDB5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C