#AF9A4E#AF9A4E

#AF9A4E is a light, moderate yellow. Relative luminance 0.328; OKLCH L 68.9% C 0.099 H 94.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#AF9A4E
RGBrgb(175, 154, 78)
HSLhsl(47, 38%, 50%)
HSVhsv(47, 55%, 69%)
CMYKcmyk(0%, 12%, 55.4%, 31.4%)
CIE-LABlab(63.98, -2.01, 42.22)
CIE-LCHlch(63.98, 42.27, 92.73°)
OKLaboklab(68.88% -0.0073 0.0992)
OKLCHoklch(68.88% 0.099 94.2)
XYZxyz(30.6111, 32.7766, 11.9204)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9A4E #4E63AF
analogous
#AF694E #AF9A4E #94AF4E
triadic
#AF9A4E #4EAF9A #9A4EAF
tetradic
#AF9A4E #4EAF69 #4E63AF #AF4E94
square
#AF9A4E #4EAF69 #4E63AF #AF4E94
split-complementary
#AF9A4E #4E94AF #694EAF
monochromatic
#5A4F28 #85753B #AF9A4E #C3B278 #D6CAA2

Accessibility & contrast

On white

2.78
#AF9A4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#AF9A4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9A4E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9A4E#FFFFFF#000000##000000
##AF9A4E1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89747
Deuteranopia (green-blind)
#AD9E51
Tritanopia (blue-blind)
#BB9089
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9a4e;
/* rgb */ color: rgb(175, 154, 78);
/* oklch */ color: oklch(68.9% 0.099 94.2);
Tailwind
colors: {
  custom: {
    50: '#c9b782',
    500: '#af9a4e',
    950: '#000000',
  },
}
SCSS
$custom: #af9a4e;
$custom-light: #c9b782;
$custom-dark: #000000;
JSON
{
  "hex": "#af9a4e",
  "rgb": {
    "r": 175,
    "g": 154,
    "b": 78
  },
  "hsl": {
    "h": 47.01,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.68884,
    "c": 0.09949,
    "h": 94.2
  },
  "luminance": 0.32775
}

Semantic roles & 50–950 ramp

primary
#AF9A4E
secondary
#96A0C3
accent
#73CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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