#AF9F50#AF9F50

#AF9F50 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 70.0% C 0.102 H 98.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AF9F50
RGBrgb(175, 159, 80)
HSLhsl(50, 37%, 50%)
HSVhsv(50, 54%, 69%)
CMYKcmyk(0%, 9.1%, 54.3%, 31.4%)
CIE-LABlab(65.35, -4.54, 42.84)
CIE-LCHlch(65.35, 43.08, 96.05°)
OKLaboklab(69.97% -0.0143 0.1008)
OKLCHoklch(69.97% 0.102 98.1)
XYZxyz(31.5264, 34.4907, 12.5846)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F50 #5060AF
analogous
#AF7050 #AF9F50 #8FAF50
triadic
#AF9F50 #50AF9F #9F50AF
tetradic
#AF9F50 #50AF70 #5060AF #AF508F
square
#AF9F50 #50AF70 #5060AF #AF508F
split-complementary
#AF9F50 #508FAF #7050AF
monochromatic
#5B532A #85793D #AF9F50 #C2B67A #D5CDA4

Accessibility & contrast

On white

2.66
#AF9F50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AF9F50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F50
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F50#FFFFFF#000000##000000
##AF9F501.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B49
Deuteranopia (green-blind)
#B1A153
Tritanopia (blue-blind)
#BB958D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f50;
/* rgb */ color: rgb(175, 159, 80);
/* oklch */ color: oklch(70.0% 0.102 98.1);
Tailwind
colors: {
  custom: {
    50: '#c9bb83',
    500: '#af9f50',
    950: '#000000',
  },
}
SCSS
$custom: #af9f50;
$custom-light: #c9bb83;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f50",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 80
  },
  "hsl": {
    "h": 49.895,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.69975,
    "c": 0.10178,
    "h": 98.1
  },
  "luminance": 0.34489
}

Semantic roles & 50–950 ramp

primary
#AF9F50
secondary
#989FC3
accent
#6ECD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9F50

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

Preview Lab → · Contrast checker → · Palette generator →

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