#AF9E47#AF9E47

#AF9E47 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.7% C 0.109 H 98.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#AF9E47
RGBrgb(175, 158, 71)
HSLhsl(50, 42%, 48%)
HSVhsv(50, 59%, 69%)
CMYKcmyk(0%, 9.7%, 59.4%, 31.4%)
CIE-LABlab(64.98, -4.72, 46.78)
CIE-LCHlch(64.98, 47.02, 95.76°)
OKLaboklab(69.65% -0.0159 0.1083)
OKLCHoklch(69.65% 0.109 98.4)
XYZxyz(31.0446, 34.0239, 10.8920)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E47 #4758AF
analogous
#AF6A47 #AF9E47 #8CAF47
triadic
#AF9E47 #47AF9E #9E47AF
tetradic
#AF9E47 #47AF6A #4758AF #AF478C
square
#AF9E47 #47AF6A #4758AF #AF478C
split-complementary
#AF9E47 #478CAF #6A47AF
monochromatic
#584F24 #837735 #AF9E47 #C4B66F #D6CC9A

Accessibility & contrast

On white

2.69
#AF9E47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#AF9E47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E47
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E47#FFFFFF#000000##000000
##AF9E471.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3E
Deuteranopia (green-blind)
#B1A04B
Tritanopia (blue-blind)
#BC938B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e47;
/* rgb */ color: rgb(175, 158, 71);
/* oklch */ color: oklch(69.7% 0.109 98.4);
Tailwind
colors: {
  custom: {
    50: '#c9ba7d',
    500: '#af9e47',
    950: '#000000',
  },
}
SCSS
$custom: #af9e47;
$custom-light: #c9ba7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e47",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 71
  },
  "hsl": {
    "h": 50.192,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69652,
    "c": 0.10941,
    "h": 98.4
  },
  "luminance": 0.34023
}

Semantic roles & 50–950 ramp

primary
#AF9E47
secondary
#8F98C2
accent
#6AD256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9E47

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

Preview Lab → · Contrast checker → · Palette generator →

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