#AFB346#AFB346
#AFB346 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.132 H 111.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB346 |
|---|---|
| RGB | rgb(175, 179, 70) |
| HSL | hsl(62, 44%, 49%) |
| HSV | hsv(62, 61%, 70%) |
| CMYK | cmyk(2.2%, 0%, 60.9%, 29.8%) |
| CIE-LAB | lab(70.73, -15.78, 53.59) |
| CIE-LCH | lch(70.73, 55.86, 106.41°) |
| OKLab | oklab(74.22% -0.0475 0.1226) |
| OKLCH | oklch(74.22% 0.132 111.2) |
| XYZ | xyz(34.9057, 41.7972, 12.0221) |
| Luminance | 0.4180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.83
Booger
#9BB53C
ΔE00 5.05
Snot
#ACBB0D
ΔE00 5.27
Vomit
#A2A415
ΔE00 5.45
Puke Green
#9AAE07
ΔE00 5.48
Sick Green
#9DB92C
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB346 #4A46B3
analogous
#B38146 #AFB346 #79B346
triadic
#AFB346 #46AFB3 #B346AF
tetradic
#AFB346 #46B381 #4A46B3 #B34679
square
#AFB346 #46B381 #4A46B3 #B34679
split-complementary
#AFB346 #4679B3 #8146B3
monochromatic
#595B24 #848735 #AFB346 #C4C76F #D6D89B
Accessibility & contrast
On white
2.24
#AFB346 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#AFB346 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB346
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB346 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB346 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB39
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#BAA99C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb346; /* rgb */ color: rgb(175, 179, 70); /* oklch */ color: oklch(74.2% 0.132 111.2);
Tailwind
colors: {
custom: {
50: '#c9c97e',
500: '#afb346',
950: '#000000',
},
}SCSS
$custom: #afb346; $custom-light: #c9c97e; $custom-dark: #000000;
JSON
{
"hex": "#afb346",
"rgb": {
"r": 175,
"g": 179,
"b": 70
},
"hsl": {
"h": 62.202,
"s": 43.775,
"l": 48.824
},
"oklch": {
"l": 0.74223,
"c": 0.1315,
"h": 111.2
},
"luminance": 0.41796
}Semantic roles & 50–950 ramp
primary
#AFB346
secondary
#9290C4
accent
#54D459
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C