#AF9537#AF9537

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

Color values

HEX#AF9537
RGBrgb(175, 149, 55)
HSLhsl(47, 52%, 45%)
HSVhsv(47, 69%, 69%)
CMYKcmyk(0%, 14.9%, 68.6%, 31.4%)
CIE-LABlab(62.41, -0.92, 51.28)
CIE-LCHlch(62.41, 51.29, 91.03°)
OKLaboklab(67.57% -0.007 0.1154)
OKLCHoklch(67.57% 0.116 93.5)
XYZxyz(29.1177, 30.8863, 8.0416)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9537 #3751AF
analogous
#AF5937 #AF9537 #8DAF37
triadic
#AF9537 #37AF95 #9537AF
tetradic
#AF9537 #37AF59 #3751AF #AF378D
square
#AF9537 #37AF59 #3751AF #AF378D
split-complementary
#AF9537 #378DAF #5937AF
monochromatic
#52461A #806D28 #AF9537 #CBB259 #D9C787

Accessibility & contrast

On white

2.93
#AF9537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9537#FFFFFF#000000##000000
##AF95371.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5922B
Deuteranopia (green-blind)
#AB9A3C
Tritanopia (blue-blind)
#BD8982
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9537;
/* rgb */ color: rgb(175, 149, 55);
/* oklch */ color: oklch(67.6% 0.116 93.5);
Tailwind
colors: {
  custom: {
    50: '#cab373',
    500: '#af9537',
    950: '#000000',
  },
}
SCSS
$custom: #af9537;
$custom-light: #cab373;
$custom-dark: #000000;
JSON
{
  "hex": "#af9537",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 47,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67571,
    "c": 0.11563,
    "h": 93.5
  },
  "luminance": 0.30885
}

Semantic roles & 50–950 ramp

primary
#AF9537
secondary
#7F8DC3
accent
#6BDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9537

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

Preview Lab → · Contrast checker → · Palette generator →

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