#AF9F4D#AF9F4D

#AF9F4D is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.9% C 0.105 H 98.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AF9F4D
RGBrgb(175, 159, 77)
HSLhsl(50, 39%, 49%)
HSVhsv(50, 56%, 69%)
CMYKcmyk(0%, 9.1%, 56%, 31.4%)
CIE-LABlab(65.32, -4.79, 44.27)
CIE-LCHlch(65.32, 44.53, 96.17°)
OKLaboklab(69.94% -0.0154 0.1036)
OKLCHoklch(69.94% 0.105 98.5)
XYZxyz(31.4180, 34.4473, 12.0138)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F4D #4D5DAF
analogous
#AF6E4D #AF9F4D #8EAF4D
triadic
#AF9F4D #4DAF9F #9F4DAF
tetradic
#AF9F4D #4DAF6E #4D5DAF #AF4D8E
square
#AF9F4D #4DAF6E #4D5DAF #AF4D8E
split-complementary
#AF9F4D #4D8EAF #6E4DAF
monochromatic
#5A5228 #85783A #AF9F4D #C3B676 #D6CDA1

Accessibility & contrast

On white

2.66
#AF9F4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#AF9F4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F4D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F4D#FFFFFF#000000##000000
##AF9F4D1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B45
Deuteranopia (green-blind)
#B1A151
Tritanopia (blue-blind)
#BB958C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f4d;
/* rgb */ color: rgb(175, 159, 77);
/* oklch */ color: oklch(69.9% 0.105 98.5);
Tailwind
colors: {
  custom: {
    50: '#c9bb81',
    500: '#af9f4d',
    950: '#000000',
  },
}
SCSS
$custom: #af9f4d;
$custom-light: #c9bb81;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f4d",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 77
  },
  "hsl": {
    "h": 50.204,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69937,
    "c": 0.10471,
    "h": 98.5
  },
  "luminance": 0.34446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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