#AF9539#AF9539

#AF9539 is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.6% C 0.114 H 93.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AF9539
RGBrgb(175, 149, 57)
HSLhsl(47, 51%, 45%)
HSVhsv(47, 67%, 69%)
CMYKcmyk(0%, 14.9%, 67.4%, 31.4%)
CIE-LABlab(62.43, -0.80, 50.42)
CIE-LCHlch(62.43, 50.43, 90.91°)
OKLaboklab(67.59% -0.0064 0.1139)
OKLCHoklch(67.59% 0.114 93.2)
XYZxyz(29.1666, 30.9058, 8.2993)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9539 #3953AF
analogous
#AF5A39 #AF9539 #8EAF39
triadic
#AF9539 #39AF95 #9539AF
tetradic
#AF9539 #39AF5A #3953AF #AF398E
square
#AF9539 #39AF5A #3953AF #AF398E
split-complementary
#AF9539 #398EAF #5A39AF
monochromatic
#53461B #816E2A #AF9539 #CAB15B #D9C78A

Accessibility & contrast

On white

2.92
#AF9539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#AF9539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9539
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9539#FFFFFF#000000##000000
##AF95391.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922E
Deuteranopia (green-blind)
#AB9A3E
Tritanopia (blue-blind)
#BD8A82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9539;
/* rgb */ color: rgb(175, 149, 57);
/* oklch */ color: oklch(67.6% 0.114 93.2);
Tailwind
colors: {
  custom: {
    50: '#cab374',
    500: '#af9539',
    950: '#000000',
  },
}
SCSS
$custom: #af9539;
$custom-light: #cab374;
$custom-dark: #000000;
JSON
{
  "hex": "#af9539",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 57
  },
  "hsl": {
    "h": 46.78,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6759,
    "c": 0.11412,
    "h": 93.2
  },
  "luminance": 0.30904
}

Semantic roles & 50–950 ramp

primary
#AF9539
secondary
#818FC3
accent
#6CDA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9539

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

Preview Lab → · Contrast checker → · Palette generator →

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