#AFBD3F#AFBD3F
#AFBD3F is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.4% C 0.148 H 115.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD3F |
|---|---|
| RGB | rgb(175, 189, 63) |
| HSL | hsl(67, 50%, 49%) |
| HSV | hsv(67, 67%, 74%) |
| CMYK | cmyk(7.4%, 0%, 66.7%, 25.9%) |
| CIE-LAB | lab(73.46, -21.26, 59.38) |
| CIE-LCH | lch(73.46, 63.07, 109.70°) |
| OKLab | oklab(76.39% -0.0636 0.1338) |
| OKLCH | oklch(76.39% 0.148 115.4) |
| XYZ | xyz(36.7749, 45.8686, 11.6179) |
| Luminance | 0.4587 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.21
Snot
#ACBB0D
ΔE00 3.33
Sick Green
#9DB92C
ΔE00 3.45
Mustard Green
#A8B504
ΔE00 3.95
Gross Green
#A0BF16
ΔE00 3.96
Booger
#9BB53C
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD3F #4D3FBD
analogous
#BD8C3F #AFBD3F #70BD3F
triadic
#AFBD3F #3FAFBD #BD3FAF
tetradic
#AFBD3F #3FBD8C #4D3FBD #BD3F70
square
#AFBD3F #3FBD8C #4D3FBD #BD3F70
split-complementary
#AFBD3F #3F70BD #8C3FBD
monochromatic
#5A6120 #858F30 #AFBD3F #C3CE6B #D6DD99
Accessibility & contrast
On white
2.06
#AFBD3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#AFBD3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD3F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD3F | 1.00 | 2.06 | 10.17 | 10.17 |
| #FFFFFF | 2.06 | 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)
#CAB42D
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#BAB2A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd3f; /* rgb */ color: rgb(175, 189, 63); /* oklch */ color: oklch(76.4% 0.148 115.4);
Tailwind
colors: {
custom: {
50: '#cad07b',
500: '#afbd3f',
950: '#000000',
},
}SCSS
$custom: #afbd3f; $custom-light: #cad07b; $custom-dark: #000000;
JSON
{
"hex": "#afbd3f",
"rgb": {
"r": 175,
"g": 189,
"b": 63
},
"hsl": {
"h": 66.667,
"s": 50,
"l": 49.412
},
"oklch": {
"l": 0.7639,
"c": 0.14818,
"h": 115.4
},
"luminance": 0.45868
}Semantic roles & 50–950 ramp
primary
#AFBD3F
secondary
#958FC9
accent
#4EDA5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C