#AF9737#AF9737

#AF9737 is a light, moderate yellow. Relative luminance 0.315; OKLCH L 68.0% C 0.117 H 94.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AF9737
RGBrgb(175, 151, 55)
HSLhsl(48, 52%, 45%)
HSVhsv(48, 69%, 69%)
CMYKcmyk(0%, 13.7%, 68.6%, 31.4%)
CIE-LABlab(62.95, -2.00, 51.84)
CIE-LCHlch(62.95, 51.88, 92.21°)
OKLaboklab(68% -0.0101 0.1166)
OKLCHoklch(68% 0.117 94.9)
XYZxyz(29.4368, 31.5246, 8.1480)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9737 #374FAF
analogous
#AF5B37 #AF9737 #8BAF37
triadic
#AF9737 #37AF97 #9737AF
tetradic
#AF9737 #37AF5B #374FAF #AF378B
square
#AF9737 #37AF5B #374FAF #AF378B
split-complementary
#AF9737 #378BAF #5B37AF
monochromatic
#52471A #806F28 #AF9737 #CBB459 #D9C987

Accessibility & contrast

On white

2.87
#AF9737 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AF9737 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9737
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9737#FFFFFF#000000##000000
##AF97371.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942A
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#BD8B83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9737;
/* rgb */ color: rgb(175, 151, 55);
/* oklch */ color: oklch(68.0% 0.117 94.9);
Tailwind
colors: {
  custom: {
    50: '#cab573',
    500: '#af9737',
    950: '#000000',
  },
}
SCSS
$custom: #af9737;
$custom-light: #cab573;
$custom-dark: #000000;
JSON
{
  "hex": "#af9737",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 55
  },
  "hsl": {
    "h": 48,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.11703,
    "h": 94.9
  },
  "luminance": 0.31523
}

Semantic roles & 50–950 ramp

primary
#AF9737
secondary
#7F8CC3
accent
#69DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9737

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

Preview Lab → · Contrast checker → · Palette generator →

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