#AF9C4E#AF9C4E

#AF9C4E is a light, moderate yellow. Relative luminance 0.334; OKLCH L 69.3% C 0.101 H 95.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AF9C4E
RGBrgb(175, 156, 78)
HSLhsl(48, 38%, 50%)
HSVhsv(48, 55%, 69%)
CMYKcmyk(0%, 10.9%, 55.4%, 31.4%)
CIE-LABlab(64.52, -3.09, 42.85)
CIE-LCHlch(64.52, 42.96, 94.13°)
OKLaboklab(69.31% -0.0104 0.1006)
OKLCHoklch(69.31% 0.101 95.9)
XYZxyz(30.9440, 33.4423, 12.0313)
Luminance0.3344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9C4E #4E61AF
analogous
#AF6B4E #AF9C4E #92AF4E
triadic
#AF9C4E #4EAF9C #9C4EAF
tetradic
#AF9C4E #4EAF6B #4E61AF #AF4E92
square
#AF9C4E #4EAF6B #4E61AF #AF4E92
split-complementary
#AF9C4E #4E92AF #6B4EAF
monochromatic
#5A5128 #85763B #AF9C4E #C3B478 #D6CBA2

Accessibility & contrast

On white

2.73
#AF9C4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AF9C4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9C4E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9C4E#FFFFFF#000000##000000
##AF9C4E1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9947
Deuteranopia (green-blind)
#AF9F51
Tritanopia (blue-blind)
#BB928A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9c4e;
/* rgb */ color: rgb(175, 156, 78);
/* oklch */ color: oklch(69.3% 0.101 95.9);
Tailwind
colors: {
  custom: {
    50: '#c9b982',
    500: '#af9c4e',
    950: '#000000',
  },
}
SCSS
$custom: #af9c4e;
$custom-light: #c9b982;
$custom-dark: #000000;
JSON
{
  "hex": "#af9c4e",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 78
  },
  "hsl": {
    "h": 48.247,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69309,
    "c": 0.10113,
    "h": 95.9
  },
  "luminance": 0.33441
}

Semantic roles & 50–950 ramp

primary
#AF9C4E
secondary
#969FC3
accent
#70CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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