#AF9E50#AF9E50

#AF9E50 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.8% C 0.101 H 97.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AF9E50
RGBrgb(175, 158, 80)
HSLhsl(49, 37%, 50%)
HSVhsv(49, 54%, 69%)
CMYKcmyk(0%, 9.7%, 54.3%, 31.4%)
CIE-LABlab(65.08, -4.00, 42.52)
CIE-LCHlch(65.08, 42.71, 95.37°)
OKLaboklab(69.76% -0.0128 0.1001)
OKLCHoklch(69.76% 0.101 97.3)
XYZxyz(31.3551, 34.1482, 12.5275)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E50 #5061AF
analogous
#AF6E50 #AF9E50 #91AF50
triadic
#AF9E50 #50AF9E #9E50AF
tetradic
#AF9E50 #50AF6E #5061AF #AF5091
square
#AF9E50 #50AF6E #5061AF #AF5091
split-complementary
#AF9E50 #5091AF #6E50AF
monochromatic
#5B522A #85783D #AF9E50 #C2B57A #D5CDA4

Accessibility & contrast

On white

2.68
#AF9E50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AF9E50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E50
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E50#FFFFFF#000000##000000
##AF9E501.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B49
Deuteranopia (green-blind)
#B0A053
Tritanopia (blue-blind)
#BB948C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e50;
/* rgb */ color: rgb(175, 158, 80);
/* oklch */ color: oklch(69.8% 0.101 97.3);
Tailwind
colors: {
  custom: {
    50: '#c9ba83',
    500: '#af9e50',
    950: '#000000',
  },
}
SCSS
$custom: #af9e50;
$custom-light: #c9ba83;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e50",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 80
  },
  "hsl": {
    "h": 49.263,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.10089,
    "h": 97.3
  },
  "luminance": 0.34147
}

Semantic roles & 50–950 ramp

primary
#AF9E50
secondary
#98A0C3
accent
#6FCD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9E50

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

Preview Lab → · Contrast checker → · Palette generator →

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