#AFB943#AFB943
#AFB943 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.141 H 113.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB943 |
|---|---|
| RGB | rgb(175, 185, 67) |
| HSL | hsl(65, 47%, 49%) |
| HSV | hsv(65, 64%, 73%) |
| CMYK | cmyk(5.4%, 0%, 63.8%, 27.5%) |
| CIE-LAB | lab(72.37, -19.02, 56.63) |
| CIE-LCH | lch(72.37, 59.73, 108.56°) |
| OKLab | oklab(75.53% -0.0569 0.1286) |
| OKLCH | oklch(75.53% 0.141 113.9) |
| XYZ | xyz(36.0422, 44.2178, 11.9453) |
| Luminance | 0.4422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.96
Sick Green
#9DB92C
ΔE00 4.06
Mustard Green
#A8B504
ΔE00 4.08
Booger
#9BB53C
ΔE00 4.10
Pea
#A4BF20
ΔE00 4.34
Gross Green
#A0BF16
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB943 #4D43B9
analogous
#B98843 #AFB943 #74B943
triadic
#AFB943 #43AFB9 #B943AF
tetradic
#AFB943 #43B988 #4D43B9 #B94374
square
#AFB943 #43B988 #4D43B9 #B94374
split-complementary
#AFB943 #4374B9 #8843B9
monochromatic
#5A5F22 #858C33 #AFB943 #C3CB6F #D6DB9B
Accessibility & contrast
On white
2.13
#AFB943 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#AFB943 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB943
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB943 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB943 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B034
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb943; /* rgb */ color: rgb(175, 185, 67); /* oklch */ color: oklch(75.5% 0.141 113.9);
Tailwind
colors: {
custom: {
50: '#cacd7d',
500: '#afb943',
950: '#000000',
},
}SCSS
$custom: #afb943; $custom-light: #cacd7d; $custom-dark: #000000;
JSON
{
"hex": "#afb943",
"rgb": {
"r": 175,
"g": 185,
"b": 67
},
"hsl": {
"h": 65.085,
"s": 46.825,
"l": 49.412
},
"oklch": {
"l": 0.75529,
"c": 0.14065,
"h": 113.9
},
"luminance": 0.44217
}Semantic roles & 50–950 ramp
primary
#AFB943
secondary
#9591C7
accent
#51D65D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C