#AF9F4E#AF9F4E

#AF9F4E is a light, moderate yellow. Relative luminance 0.345; OKLCH L 70.0% C 0.104 H 98.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AF9F4E
RGBrgb(175, 159, 78)
HSLhsl(50, 38%, 50%)
HSVhsv(50, 55%, 69%)
CMYKcmyk(0%, 9.1%, 55.4%, 31.4%)
CIE-LABlab(65.33, -4.70, 43.80)
CIE-LCHlch(65.33, 44.05, 96.13°)
OKLaboklab(69.95% -0.015 0.1026)
OKLCHoklch(69.95% 0.104 98.3)
XYZxyz(31.4536, 34.4616, 12.2012)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F4E #4E5EAF
analogous
#AF6F4E #AF9F4E #8FAF4E
triadic
#AF9F4E #4EAF9F #9F4EAF
tetradic
#AF9F4E #4EAF6F #4E5EAF #AF4E8F
square
#AF9F4E #4EAF6F #4E5EAF #AF4E8F
split-complementary
#AF9F4E #4E8FAF #6F4EAF
monochromatic
#5A5228 #85793B #AF9F4E #C3B678 #D6CDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9F4E#FFFFFF#000000##000000
##AF9F4E1.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)
#AC9B46
Deuteranopia (green-blind)
#B1A152
Tritanopia (blue-blind)
#BB958D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f4e;
/* rgb */ color: rgb(175, 159, 78);
/* oklch */ color: oklch(70.0% 0.104 98.3);
Tailwind
colors: {
  custom: {
    50: '#c9bb82',
    500: '#af9f4e',
    950: '#000000',
  },
}
SCSS
$custom: #af9f4e;
$custom-light: #c9bb82;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f4e",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 78
  },
  "hsl": {
    "h": 50.103,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.6995,
    "c": 0.10374,
    "h": 98.3
  },
  "luminance": 0.3446
}

Semantic roles & 50–950 ramp

primary
#AF9F4E
secondary
#969EC3
accent
#6DCE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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