#AFA446#AFA446

#AFA446 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.116 H 102.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AFA446
RGBrgb(175, 164, 70)
HSLhsl(54, 43%, 48%)
HSVhsv(54, 60%, 69%)
CMYKcmyk(0%, 6.3%, 60%, 31.4%)
CIE-LABlab(66.60, -7.99, 49.06)
CIE-LCHlch(66.60, 49.71, 99.25°)
OKLaboklab(70.93% -0.0254 0.113)
OKLCHoklch(70.93% 0.116 102.7)
XYZxyz(32.0613, 36.1083, 11.0739)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA446 #4651AF
analogous
#AF6F46 #AFA446 #85AF46
triadic
#AFA446 #46AFA4 #A446AF
tetradic
#AFA446 #46AF6F #4651AF #AF4685
square
#AFA446 #46AF6F #4651AF #AF4685
split-complementary
#AFA446 #4685AF #6F46AF
monochromatic
#585223 #837B35 #AFA446 #C5BC6D #D6D099

Accessibility & contrast

On white

2.55
#AFA446 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#AFA446 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA446
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA446#FFFFFF#000000##000000
##AFA4461.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3C
Deuteranopia (green-blind)
#B5A44B
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa446;
/* rgb */ color: rgb(175, 164, 70);
/* oklch */ color: oklch(70.9% 0.116 102.7);
Tailwind
colors: {
  custom: {
    50: '#c9be7d',
    500: '#afa446',
    950: '#000000',
  },
}
SCSS
$custom: #afa446;
$custom-light: #c9be7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa446",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 70
  },
  "hsl": {
    "h": 53.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70934,
    "c": 0.11581,
    "h": 102.7
  },
  "luminance": 0.36107
}

Semantic roles & 50–950 ramp

primary
#AFA446
secondary
#8E94C2
accent
#62D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA446

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFA446 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva