#AF9E58#AF9E58

#AF9E58 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.9% C 0.093 H 96.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AF9E58
RGBrgb(175, 158, 88)
HSLhsl(48, 35%, 52%)
HSVhsv(48, 50%, 69%)
CMYKcmyk(0%, 9.7%, 49.7%, 31.4%)
CIE-LABlab(65.18, -3.28, 38.59)
CIE-LCHlch(65.18, 38.73, 94.86°)
OKLaboklab(69.87% -0.0098 0.0922)
OKLCHoklch(69.87% 0.093 96.1)
XYZxyz(31.6685, 34.2735, 14.1779)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E58 #5869AF
analogous
#AF7358 #AF9E58 #95AF58
triadic
#AF9E58 #58AF9E #9E58AF
tetradic
#AF9E58 #58AF73 #5869AF #AF5895
square
#AF9E58 #58AF73 #5869AF #AF5895
split-complementary
#AF9E58 #5895AF #7358AF
monochromatic
#5F552E #887B41 #AF9E58 #C3B681 #D7CEAB

Accessibility & contrast

On white

2.67
#AF9E58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AF9E58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E58
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E58#FFFFFF#000000##000000
##AF9E581.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B52
Deuteranopia (green-blind)
#AFA15B
Tritanopia (blue-blind)
#BB958D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e58;
/* rgb */ color: rgb(175, 158, 88);
/* oklch */ color: oklch(69.9% 0.093 96.1);
Tailwind
colors: {
  custom: {
    50: '#c9ba89',
    500: '#af9e58',
    950: '#000000',
  },
}
SCSS
$custom: #af9e58;
$custom-light: #c9ba89;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e58",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 88
  },
  "hsl": {
    "h": 48.276,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.69872,
    "c": 0.09271,
    "h": 96.1
  },
  "luminance": 0.34272
}

Semantic roles & 50–950 ramp

primary
#AF9E58
secondary
#9EA6C5
accent
#72CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9E58

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

Preview Lab → · Contrast checker → · Palette generator →

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