#AF9C4F#AF9C4F

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

Color values

HEX#AF9C4F
RGBrgb(175, 156, 79)
HSLhsl(48, 38%, 50%)
HSVhsv(48, 55%, 69%)
CMYKcmyk(0%, 10.9%, 54.9%, 31.4%)
CIE-LABlab(64.53, -3.01, 42.37)
CIE-LCHlch(64.53, 42.47, 94.06°)
OKLaboklab(69.32% -0.01 0.0997)
OKLCHoklch(69.32% 0.1 95.7)
XYZxyz(30.9801, 33.4567, 12.2216)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9C4F #4F62AF
analogous
#AF6C4F #AF9C4F #92AF4F
triadic
#AF9C4F #4FAF9C #9C4FAF
tetradic
#AF9C4F #4FAF6C #4F62AF #AF4F92
square
#AF9C4F #4FAF6C #4F62AF #AF4F92
split-complementary
#AF9C4F #4F92AF #6C4FAF
monochromatic
#5B5129 #85763C #AF9C4F #C2B479 #D5CBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9C4F#FFFFFF#000000##000000
##AF9C4F1.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)
#A99948
Deuteranopia (green-blind)
#AE9F52
Tritanopia (blue-blind)
#BB928A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9c4f;
/* rgb */ color: rgb(175, 156, 79);
/* oklch */ color: oklch(69.3% 0.100 95.7);
Tailwind
colors: {
  custom: {
    50: '#c9b982',
    500: '#af9c4f',
    950: '#000000',
  },
}
SCSS
$custom: #af9c4f;
$custom-light: #c9b982;
$custom-dark: #000000;
JSON
{
  "hex": "#af9c4f",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 79
  },
  "hsl": {
    "h": 48.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.10015,
    "h": 95.7
  },
  "luminance": 0.33455
}

Semantic roles & 50–950 ramp

primary
#AF9C4F
secondary
#97A0C3
accent
#71CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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