#AFB63F#AFB63F
#AFB63F is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.140 H 112.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB63F |
|---|---|
| RGB | rgb(175, 182, 63) |
| HSL | hsl(64, 49%, 48%) |
| HSV | hsv(64, 65%, 71%) |
| CMYK | cmyk(3.8%, 0%, 65.4%, 28.6%) |
| CIE-LAB | lab(71.51, -17.76, 57.37) |
| CIE-LCH | lch(71.51, 60.05, 107.21°) |
| OKLab | oklab(74.83% -0.0538 0.1296) |
| OKLCH | oklch(74.83% 0.14 112.6) |
| XYZ | xyz(35.3053, 42.9295, 11.1281) |
| Luminance | 0.4293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.73
Snot
#ACBB0D
ΔE00 3.96
Booger
#9BB53C
ΔE00 4.57
Sick Green
#9DB92C
ΔE00 4.58
Puke Green
#9AAE07
ΔE00 4.81
Pea
#A4BF20
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB63F #463FB6
analogous
#B6813F #AFB63F #74B63F
triadic
#AFB63F #3FAFB6 #B63FAF
tetradic
#AFB63F #3FB681 #463FB6 #B63F74
square
#AFB63F #3FB681 #463FB6 #B63F74
split-complementary
#AFB63F #3F74B6 #813FB6
monochromatic
#585B20 #83892F #AFB63F #C5CB68 #D6DA95
Accessibility & contrast
On white
2.19
#AFB63F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#AFB63F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB63F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB63F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB63F | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE2F
Deuteranopia (green-blind)
#C3B147
Tritanopia (blue-blind)
#BAAB9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb63f; /* rgb */ color: rgb(175, 182, 63); /* oklch */ color: oklch(74.8% 0.140 112.6);
Tailwind
colors: {
custom: {
50: '#cacb7a',
500: '#afb63f',
950: '#000000',
},
}SCSS
$custom: #afb63f; $custom-light: #cacb7a; $custom-dark: #000000;
JSON
{
"hex": "#afb63f",
"rgb": {
"r": 175,
"g": 182,
"b": 63
},
"hsl": {
"h": 63.529,
"s": 48.571,
"l": 48.039
},
"oklch": {
"l": 0.74825,
"c": 0.14031,
"h": 112.6
},
"luminance": 0.42929
}Semantic roles & 50–950 ramp
primary
#AFB63F
secondary
#8E8BC6
accent
#50D858
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C