#AFB33E#AFB33E
#AFB33E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.138 H 111.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB33E |
|---|---|
| RGB | rgb(175, 179, 62) |
| HSL | hsl(62, 49%, 47%) |
| HSV | hsv(62, 65%, 70%) |
| CMYK | cmyk(2.2%, 0%, 65.4%, 29.8%) |
| CIE-LAB | lab(70.67, -16.31, 56.90) |
| CIE-LCH | lch(70.67, 59.19, 105.99°) |
| OKLab | oklab(74.15% -0.0498 0.1284) |
| OKLCH | oklch(74.15% 0.138 111.2) |
| XYZ | xyz(34.6698, 41.7028, 10.7796) |
| Luminance | 0.4170 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.97
Snot
#ACBB0D
ΔE00 4.49
Puke Green
#9AAE07
ΔE00 4.91
Vomit
#A2A415
ΔE00 4.92
Booger
#9BB53C
ΔE00 5.15
Puke
#A5A502
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB33E #423EB3
analogous
#B37C3E #AFB33E #75B33E
triadic
#AFB33E #3EAFB3 #B33EAF
tetradic
#AFB33E #3EB37C #423EB3 #B33E75
square
#AFB33E #3EB37C #423EB3 #B33E75
split-complementary
#AFB33E #3E75B3 #7C3EB3
monochromatic
#56581F #83862E #AFB33E #C6CA65 #D7D992
Accessibility & contrast
On white
2.25
#AFB33E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#AFB33E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB33E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB33E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB33E | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#BBA89B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb33e; /* rgb */ color: rgb(175, 179, 62); /* oklch */ color: oklch(74.2% 0.138 111.2);
Tailwind
colors: {
custom: {
50: '#cac979',
500: '#afb33e',
950: '#000000',
},
}SCSS
$custom: #afb33e; $custom-light: #cac979; $custom-dark: #000000;
JSON
{
"hex": "#afb33e",
"rgb": {
"r": 175,
"g": 179,
"b": 62
},
"hsl": {
"h": 62.051,
"s": 48.548,
"l": 47.255
},
"oklch": {
"l": 0.7415,
"c": 0.13777,
"h": 111.2
},
"luminance": 0.41702
}Semantic roles & 50–950 ramp
primary
#AFB33E
secondary
#8A88C5
accent
#50D854
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B