#AFB646#AFB646
#AFB646 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.135 H 112.6°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB646 |
|---|---|
| RGB | rgb(175, 182, 70) |
| HSL | hsl(64, 44%, 49%) |
| HSV | hsv(64, 62%, 71%) |
| CMYK | cmyk(3.8%, 0%, 61.5%, 28.6%) |
| CIE-LAB | lab(71.56, -17.30, 54.49) |
| CIE-LCH | lch(71.56, 57.17, 107.62°) |
| OKLab | oklab(74.89% -0.0518 0.1245) |
| OKLCH | oklch(74.89% 0.135 112.6) |
| XYZ | xyz(35.5136, 43.0128, 12.2247) |
| Luminance | 0.4301 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.46
Mustard Green
#A8B504
ΔE00 4.52
Snot
#ACBB0D
ΔE00 4.70
Sick Green
#9DB92C
ΔE00 4.80
Puke Green
#9AAE07
ΔE00 5.30
Pea
#A4BF20
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB646 #4D46B6
analogous
#B68546 #AFB646 #77B646
triadic
#AFB646 #46AFB6 #B646AF
tetradic
#AFB646 #46B685 #4D46B6 #B64677
square
#AFB646 #46B685 #4D46B6 #B64677
split-complementary
#AFB646 #4677B6 #8546B6
monochromatic
#5A5E24 #858A35 #AFB646 #C3C871 #D6D99D
Accessibility & contrast
On white
2.19
#AFB646 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#AFB646 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB646
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB646 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB646 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE39
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#BAAC9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb646; /* rgb */ color: rgb(175, 182, 70); /* oklch */ color: oklch(74.9% 0.135 112.6);
Tailwind
colors: {
custom: {
50: '#c9cb7e',
500: '#afb646',
950: '#000000',
},
}SCSS
$custom: #afb646; $custom-light: #c9cb7e; $custom-dark: #000000;
JSON
{
"hex": "#afb646",
"rgb": {
"r": 175,
"g": 182,
"b": 70
},
"hsl": {
"h": 63.75,
"s": 44.444,
"l": 49.412
},
"oklch": {
"l": 0.74889,
"c": 0.13487,
"h": 112.6
},
"luminance": 0.43012
}Semantic roles & 50–950 ramp
primary
#AFB646
secondary
#9592C6
accent
#54D45C
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C