#AF9B4D#AF9B4D

#AF9B4D is a light, moderate yellow. Relative luminance 0.331; OKLCH L 69.1% C 0.101 H 95.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AF9B4D
RGBrgb(175, 155, 77)
HSLhsl(48, 39%, 49%)
HSVhsv(48, 56%, 69%)
CMYKcmyk(0%, 11.4%, 56%, 31.4%)
CIE-LABlab(64.24, -2.63, 43.02)
CIE-LCHlch(64.24, 43.10, 93.50°)
OKLaboklab(69.08% -0.0092 0.1009)
OKLCHoklch(69.08% 0.101 95.2)
XYZxyz(30.7413, 33.0938, 11.7882)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B4D #4D61AF
analogous
#AF6A4D #AF9B4D #92AF4D
triadic
#AF9B4D #4DAF9B #9B4DAF
tetradic
#AF9B4D #4DAF6A #4D61AF #AF4D92
square
#AF9B4D #4DAF6A #4D61AF #AF4D92
split-complementary
#AF9B4D #4D92AF #6A4DAF
monochromatic
#5A5028 #85753A #AF9B4D #C3B376 #D6CBA1

Accessibility & contrast

On white

2.76
#AF9B4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AF9B4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B4D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B4D#FFFFFF#000000##000000
##AF9B4D1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99846
Deuteranopia (green-blind)
#AE9E50
Tritanopia (blue-blind)
#BB9189
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9b4d;
/* rgb */ color: rgb(175, 155, 77);
/* oklch */ color: oklch(69.1% 0.101 95.2);
Tailwind
colors: {
  custom: {
    50: '#c9b881',
    500: '#af9b4d',
    950: '#000000',
  },
}
SCSS
$custom: #af9b4d;
$custom-light: #c9b881;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b4d",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 77
  },
  "hsl": {
    "h": 47.755,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69083,
    "c": 0.10127,
    "h": 95.2
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#AF9B4D
secondary
#959FC3
accent
#71CF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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