#AFB247#AFB247
#AFB247 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.130 H 110.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB247 |
|---|---|
| RGB | rgb(175, 178, 71) |
| HSL | hsl(62, 43%, 49%) |
| HSV | hsv(62, 60%, 70%) |
| CMYK | cmyk(1.7%, 0%, 60.1%, 30.2%) |
| CIE-LAB | lab(70.46, -15.20, 52.86) |
| CIE-LCH | lch(70.46, 55.00, 106.04°) |
| OKLab | oklab(74.01% -0.0458 0.1212) |
| OKLCH | oklch(74.01% 0.13 110.7) |
| XYZ | xyz(34.7379, 41.4105, 12.1231) |
| Luminance | 0.4141 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 5.10
Booger
#9BB53C
ΔE00 5.29
Vomit
#A2A415
ΔE00 5.36
Darkkhaki
#BDB76B
ΔE00 5.49
Snot
#ACBB0D
ΔE00 5.60
Puke Green
#9AAE07
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB247 #4A47B2
analogous
#B28047 #AFB247 #7AB247
triadic
#AFB247 #47AFB2 #B247AF
tetradic
#AFB247 #47B280 #4A47B2 #B2477A
square
#AFB247 #47B280 #4A47B2 #B2477A
split-complementary
#AFB247 #477AB2 #8047B2
monochromatic
#595B24 #848636 #AFB247 #C4C670 #D6D79C
Accessibility & contrast
On white
2.26
#AFB247 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#AFB247 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB247
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB247 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB247 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB3B
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#BAA89B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb247; /* rgb */ color: rgb(175, 178, 71); /* oklch */ color: oklch(74.0% 0.130 110.7);
Tailwind
colors: {
custom: {
50: '#c9c87f',
500: '#afb247',
950: '#000000',
},
}SCSS
$custom: #afb247; $custom-light: #c9c87f; $custom-dark: #000000;
JSON
{
"hex": "#afb247",
"rgb": {
"r": 175,
"g": 178,
"b": 71
},
"hsl": {
"h": 61.682,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.74012,
"c": 0.12955,
"h": 110.7
},
"luminance": 0.4141
}Semantic roles & 50–950 ramp
primary
#AFB247
secondary
#9291C4
accent
#55D359
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C