#AF9E4D#AF9E4D

#AF9E4D is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.104 H 97.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AF9E4D
RGBrgb(175, 158, 77)
HSLhsl(50, 39%, 49%)
HSVhsv(50, 56%, 69%)
CMYKcmyk(0%, 9.7%, 56%, 31.4%)
CIE-LABlab(65.05, -4.25, 43.96)
CIE-LCHlch(65.05, 44.16, 95.52°)
OKLaboklab(69.72% -0.0138 0.1029)
OKLCHoklch(69.72% 0.104 97.7)
XYZxyz(31.2467, 34.1048, 11.9567)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E4D #4D5EAF
analogous
#AF6D4D #AF9E4D #8FAF4D
triadic
#AF9E4D #4DAF9E #9E4DAF
tetradic
#AF9E4D #4DAF6D #4D5EAF #AF4D8F
square
#AF9E4D #4DAF6D #4D5EAF #AF4D8F
split-complementary
#AF9E4D #4D8FAF #6D4DAF
monochromatic
#5A5128 #85783A #AF9E4D #C3B676 #D6CCA1

Accessibility & contrast

On white

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

On black

7.82
#AF9E4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E4D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E4D#FFFFFF#000000##000000
##AF9E4D1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9e4d;
/* rgb */ color: rgb(175, 158, 77);
/* oklch */ color: oklch(69.7% 0.104 97.7);
Tailwind
colors: {
  custom: {
    50: '#c9ba81',
    500: '#af9e4d',
    950: '#000000',
  },
}
SCSS
$custom: #af9e4d;
$custom-light: #c9ba81;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e4d",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 77
  },
  "hsl": {
    "h": 49.592,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.10382,
    "h": 97.7
  },
  "luminance": 0.34104
}

Semantic roles & 50–950 ramp

primary
#AF9E4D
secondary
#959DC3
accent
#6DCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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