#AFB43F#AFB43F
#AFB43F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.4% C 0.138 H 111.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB43F |
|---|---|
| RGB | rgb(175, 180, 63) |
| HSL | hsl(63, 48%, 48%) |
| HSV | hsv(63, 65%, 71%) |
| CMYK | cmyk(2.8%, 0%, 65%, 29.4%) |
| CIE-LAB | lab(70.95, -16.75, 56.79) |
| CIE-LCH | lch(70.95, 59.21, 106.44°) |
| OKLab | oklab(74.38% -0.051 0.1284) |
| OKLCH | oklch(74.38% 0.138 111.7) |
| XYZ | xyz(34.8987, 42.1162, 10.9925) |
| Luminance | 0.4212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.93
Snot
#ACBB0D
ΔE00 4.36
Puke Green
#9AAE07
ΔE00 4.89
Booger
#9BB53C
ΔE00 4.92
Sick Green
#9DB92C
ΔE00 5.07
Vomit
#A2A415
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB43F #443FB4
analogous
#B47E3F #AFB43F #75B43F
triadic
#AFB43F #3FAFB4 #B43FAF
tetradic
#AFB43F #3FB47E #443FB4 #B43F75
square
#AFB43F #3FB47E #443FB4 #B43F75
split-complementary
#AFB43F #3F75B4 #7E3FB4
monochromatic
#57591F #83872F #AFB43F #C5CA67 #D7DA94
Accessibility & contrast
On white
2.23
#AFB43F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#AFB43F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB43F
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB43F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB43F | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC2F
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#BBA99C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb43f; /* rgb */ color: rgb(175, 180, 63); /* oklch */ color: oklch(74.4% 0.138 111.7);
Tailwind
colors: {
custom: {
50: '#caca7a',
500: '#afb43f',
950: '#000000',
},
}SCSS
$custom: #afb43f; $custom-light: #caca7a; $custom-dark: #000000;
JSON
{
"hex": "#afb43f",
"rgb": {
"r": 175,
"g": 180,
"b": 63
},
"hsl": {
"h": 62.564,
"s": 48.148,
"l": 47.647
},
"oklch": {
"l": 0.74381,
"c": 0.13812,
"h": 111.7
},
"luminance": 0.42115
}Semantic roles & 50–950 ramp
primary
#AFB43F
secondary
#8C8AC5
accent
#50D856
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C