#AF9E4A#AF9E4A

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

Color values

HEX#AF9E4A
RGBrgb(175, 158, 74)
HSLhsl(50, 41%, 49%)
HSVhsv(50, 58%, 69%)
CMYKcmyk(0%, 9.7%, 57.7%, 31.4%)
CIE-LABlab(65.01, -4.49, 45.38)
CIE-LCHlch(65.01, 45.60, 95.65°)
OKLaboklab(69.69% -0.0149 0.1056)
OKLCHoklch(69.69% 0.107 98)
XYZxyz(31.1433, 34.0634, 11.4117)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E4A #4A5BAF
analogous
#AF6C4A #AF9E4A #8EAF4A
triadic
#AF9E4A #4AAF9E #9E4AAF
tetradic
#AF9E4A #4AAF6C #4A5BAF #AF4A8E
square
#AF9E4A #4AAF6C #4A5BAF #AF4A8E
split-complementary
#AF9E4A #4A8EAF #6C4AAF
monochromatic
#595026 #847738 #AF9E4A #C4B673 #D6CC9E

Accessibility & contrast

On white

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

On black

7.81
#AF9E4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E4A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E4A#FFFFFF#000000##000000
##AF9E4A1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A42
Deuteranopia (green-blind)
#B0A04E
Tritanopia (blue-blind)
#BB948B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e4a;
/* rgb */ color: rgb(175, 158, 74);
/* oklch */ color: oklch(69.7% 0.107 98.0);
Tailwind
colors: {
  custom: {
    50: '#c9ba7f',
    500: '#af9e4a',
    950: '#000000',
  },
}
SCSS
$custom: #af9e4a;
$custom-light: #c9ba7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e4a",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 74
  },
  "hsl": {
    "h": 49.901,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69687,
    "c": 0.10666,
    "h": 98
  },
  "luminance": 0.34062
}

Semantic roles & 50–950 ramp

primary
#AF9E4A
secondary
#929AC2
accent
#6CD057
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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