#AFB63E#AFB63E
#AFB63E is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.141 H 112.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB63E |
|---|---|
| RGB | rgb(175, 182, 62) |
| HSL | hsl(64, 49%, 48%) |
| HSV | hsv(64, 66%, 71%) |
| CMYK | cmyk(3.8%, 0%, 65.9%, 28.6%) |
| CIE-LAB | lab(71.50, -17.83, 57.76) |
| CIE-LCH | lch(71.50, 60.45, 107.15°) |
| OKLab | oklab(74.82% -0.0541 0.1303) |
| OKLCH | oklch(74.82% 0.141 112.6) |
| XYZ | xyz(35.2776, 42.9184, 10.9822) |
| Luminance | 0.4292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.63
Snot
#ACBB0D
ΔE00 3.86
Sick Green
#9DB92C
ΔE00 4.56
Booger
#9BB53C
ΔE00 4.59
Puke Green
#9AAE07
ΔE00 4.75
Pea
#A4BF20
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB63E #453EB6
analogous
#B6813E #AFB63E #73B63E
triadic
#AFB63E #3EAFB6 #B63EAF
tetradic
#AFB63E #3EB681 #453EB6 #B63E73
square
#AFB63E #3EB681 #453EB6 #B63E73
split-complementary
#AFB63E #3E73B6 #813EB6
monochromatic
#575B1F #83882E #AFB63E #C5CB66 #D6DB94
Accessibility & contrast
On white
2.19
#AFB63E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#AFB63E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB63E
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB63E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB63E | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE2D
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#BAAB9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb63e; /* rgb */ color: rgb(175, 182, 62); /* oklch */ color: oklch(74.8% 0.141 112.6);
Tailwind
colors: {
custom: {
50: '#cacb7a',
500: '#afb63e',
950: '#000000',
},
}SCSS
$custom: #afb63e; $custom-light: #cacb7a; $custom-dark: #000000;
JSON
{
"hex": "#afb63e",
"rgb": {
"r": 175,
"g": 182,
"b": 62
},
"hsl": {
"h": 63.5,
"s": 49.18,
"l": 47.843
},
"oklch": {
"l": 0.74817,
"c": 0.14105,
"h": 112.6
},
"luminance": 0.42918
}Semantic roles & 50–950 ramp
primary
#AFB63E
secondary
#8D8AC6
accent
#4FD957
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C