#AFB83E#AFB83E
#AFB83E is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.143 H 113.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB83E |
|---|---|
| RGB | rgb(175, 184, 62) |
| HSL | hsl(64, 50%, 48%) |
| HSV | hsv(64, 66%, 72%) |
| CMYK | cmyk(4.9%, 0%, 66.3%, 27.8%) |
| CIE-LAB | lab(72.06, -18.83, 58.34) |
| CIE-LCH | lch(72.06, 61.30, 107.89°) |
| OKLab | oklab(75.26% -0.0569 0.1315) |
| OKLCH | oklch(75.26% 0.143 113.4) |
| XYZ | xyz(35.6902, 43.7435, 11.1197) |
| Luminance | 0.4374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.54
Mustard Green
#A8B504
ΔE00 3.55
Sick Green
#9DB92C
ΔE00 4.13
Pea
#A4BF20
ΔE00 4.30
Booger
#9BB53C
ΔE00 4.33
Puke Green
#9AAE07
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB83E #473EB8
analogous
#B8843E #AFB83E #72B83E
triadic
#AFB83E #3EAFB8 #B83EAF
tetradic
#AFB83E #3EB884 #473EB8 #B83E72
square
#AFB83E #3EB884 #473EB8 #B83E72
split-complementary
#AFB83E #3E72B8 #843EB8
monochromatic
#585C1F #838A2F #AFB83E #C4CC67 #D6DB95
Accessibility & contrast
On white
2.15
#AFB83E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#AFB83E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB83E
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB83E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB83E | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF2D
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#BAAD9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb83e; /* rgb */ color: rgb(175, 184, 62); /* oklch */ color: oklch(75.3% 0.143 113.4);
Tailwind
colors: {
custom: {
50: '#cacd7a',
500: '#afb83e',
950: '#000000',
},
}SCSS
$custom: #afb83e; $custom-light: #cacd7a; $custom-dark: #000000;
JSON
{
"hex": "#afb83e",
"rgb": {
"r": 175,
"g": 184,
"b": 62
},
"hsl": {
"h": 64.426,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.75263,
"c": 0.14326,
"h": 113.4
},
"luminance": 0.43743
}Semantic roles & 50–950 ramp
primary
#AFB83E
secondary
#8F8BC7
accent
#4FD959
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C