#AF9F56#AF9F56

#AF9F56 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.1% C 0.096 H 97.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AF9F56
RGBrgb(175, 159, 86)
HSLhsl(49, 36%, 51%)
HSVhsv(49, 51%, 69%)
CMYKcmyk(0%, 9.1%, 50.9%, 31.4%)
CIE-LABlab(65.42, -4.00, 39.91)
CIE-LCHlch(65.42, 40.11, 95.73°)
OKLaboklab(70.06% -0.0121 0.0949)
OKLCHoklch(70.06% 0.096 97.3)
XYZxyz(31.7581, 34.5834, 13.8047)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F56 #5666AF
analogous
#AF7256 #AF9F56 #92AF56
triadic
#AF9F56 #56AF9F #9F56AF
tetradic
#AF9F56 #56AF72 #5666AF #AF5692
square
#AF9F56 #56AF72 #5666AF #AF5692
split-complementary
#AF9F56 #5692AF #7256AF
monochromatic
#5E552D #887B40 #AF9F56 #C3B780 #D6CEA9

Accessibility & contrast

On white

2.65
#AF9F56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#AF9F56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F56
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F56#FFFFFF#000000##000000
##AF9F561.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C50
Deuteranopia (green-blind)
#B0A159
Tritanopia (blue-blind)
#BB968E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f56;
/* rgb */ color: rgb(175, 159, 86);
/* oklch */ color: oklch(70.1% 0.096 97.3);
Tailwind
colors: {
  custom: {
    50: '#c9bb87',
    500: '#af9f56',
    950: '#000000',
  },
}
SCSS
$custom: #af9f56;
$custom-light: #c9bb87;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f56",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 86
  },
  "hsl": {
    "h": 49.213,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70057,
    "c": 0.0957,
    "h": 97.3
  },
  "luminance": 0.34582
}

Semantic roles & 50–950 ramp

primary
#AF9F56
secondary
#9DA4C4
accent
#70CC5C
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9F56

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

Preview Lab → · Contrast checker → · Palette generator →

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