#AF994F#AF994F

#AF994F is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.7% C 0.098 H 93.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AF994F
RGBrgb(175, 153, 79)
HSLhsl(46, 38%, 50%)
HSVhsv(46, 55%, 69%)
CMYKcmyk(0%, 12.6%, 54.9%, 31.4%)
CIE-LABlab(63.72, -1.38, 41.42)
CIE-LCHlch(63.72, 41.44, 91.92°)
OKLaboklab(68.69% -0.0053 0.0976)
OKLCHoklch(68.69% 0.098 93.1)
XYZxyz(30.4829, 32.4623, 12.0558)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF994F #4F65AF
analogous
#AF694F #AF994F #95AF4F
triadic
#AF994F #4FAF99 #994FAF
tetradic
#AF994F #4FAF69 #4F65AF #AF4F95
square
#AF994F #4FAF69 #4F65AF #AF4F95
split-complementary
#AF994F #4F95AF #694FAF
monochromatic
#5B4F29 #85743C #AF994F #C2B279 #D5CAA3

Accessibility & contrast

On white

2.80
#AF994F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AF994F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF994F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF994F#FFFFFF#000000##000000
##AF994F1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79748
Deuteranopia (green-blind)
#AC9D52
Tritanopia (blue-blind)
#BB8F88
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af994f;
/* rgb */ color: rgb(175, 153, 79);
/* oklch */ color: oklch(68.7% 0.098 93.1);
Tailwind
colors: {
  custom: {
    50: '#c9b682',
    500: '#af994f',
    950: '#000000',
  },
}
SCSS
$custom: #af994f;
$custom-light: #c9b682;
$custom-dark: #000000;
JSON
{
  "hex": "#af994f",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 79
  },
  "hsl": {
    "h": 46.25,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.68685,
    "c": 0.09772,
    "h": 93.1
  },
  "luminance": 0.32461
}

Semantic roles & 50–950 ramp

primary
#AF994F
secondary
#97A1C3
accent
#75CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF994F

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

Preview Lab → · Contrast checker → · Palette generator →

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