#AF9F58#AF9F58

#AF9F58 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.1% C 0.094 H 97.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AF9F58
RGBrgb(175, 159, 88)
HSLhsl(49, 35%, 52%)
HSVhsv(49, 50%, 69%)
CMYKcmyk(0%, 9.1%, 49.7%, 31.4%)
CIE-LABlab(65.45, -3.82, 38.92)
CIE-LCHlch(65.45, 39.11, 95.60°)
OKLaboklab(70.08% -0.0114 0.0929)
OKLCHoklch(70.08% 0.094 97)
XYZxyz(31.8398, 34.6160, 14.2350)
Luminance0.3462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F58 #5868AF
analogous
#AF7458 #AF9F58 #94AF58
triadic
#AF9F58 #58AF9F #9F58AF
tetradic
#AF9F58 #58AF74 #5868AF #AF5894
square
#AF9F58 #58AF74 #5868AF #AF5894
split-complementary
#AF9F58 #5894AF #7458AF
monochromatic
#5F562E #887B41 #AF9F58 #C3B781 #D7CFAB

Accessibility & contrast

On white

2.65
#AF9F58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#AF9F58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F58
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F58#FFFFFF#000000##000000
##AF9F581.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C52
Deuteranopia (green-blind)
#B0A15B
Tritanopia (blue-blind)
#BB968E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f58;
/* rgb */ color: rgb(175, 159, 88);
/* oklch */ color: oklch(70.1% 0.094 97.0);
Tailwind
colors: {
  custom: {
    50: '#c9bb89',
    500: '#af9f58',
    950: '#000000',
  },
}
SCSS
$custom: #af9f58;
$custom-light: #c9bb89;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f58",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 88
  },
  "hsl": {
    "h": 48.966,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70085,
    "c": 0.0936,
    "h": 97
  },
  "luminance": 0.34615
}

Semantic roles & 50–950 ramp

primary
#AF9F58
secondary
#9EA5C5
accent
#71CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9F58

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

Preview Lab → · Contrast checker → · Palette generator →

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