#AF9E53#AF9E53

#AF9E53 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.8% C 0.098 H 96.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#AF9E53
RGBrgb(175, 158, 83)
HSLhsl(49, 37%, 51%)
HSVhsv(49, 53%, 69%)
CMYKcmyk(0%, 9.7%, 52.6%, 31.4%)
CIE-LABlab(65.12, -3.74, 41.06)
CIE-LCHlch(65.12, 41.23, 95.20°)
OKLaboklab(69.8% -0.0117 0.0972)
OKLCHoklch(69.8% 0.098 96.8)
XYZxyz(31.4684, 34.1935, 13.1243)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E53 #5364AF
analogous
#AF7053 #AF9E53 #92AF53
triadic
#AF9E53 #53AF9E #9E53AF
tetradic
#AF9E53 #53AF70 #5364AF #AF5392
square
#AF9E53 #53AF70 #5364AF #AF5392
split-complementary
#AF9E53 #5392AF #7053AF
monochromatic
#5D532B #86793E #AF9E53 #C2B67D #D6CDA7

Accessibility & contrast

On white

2.68
#AF9E53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#AF9E53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E53
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E53#FFFFFF#000000##000000
##AF9E531.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B4C
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#BB948D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e53;
/* rgb */ color: rgb(175, 158, 83);
/* oklch */ color: oklch(69.8% 0.098 96.8);
Tailwind
colors: {
  custom: {
    50: '#c9ba85',
    500: '#af9e53',
    950: '#000000',
  },
}
SCSS
$custom: #af9e53;
$custom-light: #c9ba85;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e53",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 83
  },
  "hsl": {
    "h": 48.913,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.69801,
    "c": 0.09788,
    "h": 96.8
  },
  "luminance": 0.34192
}

Semantic roles & 50–950 ramp

primary
#AF9E53
secondary
#9AA2C3
accent
#70CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9E53

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

Preview Lab → · Contrast checker → · Palette generator →

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