#AF9137#AF9137

#AF9137 is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.7% C 0.113 H 90.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AF9137
RGBrgb(175, 145, 55)
HSLhsl(45, 52%, 45%)
HSVhsv(45, 69%, 69%)
CMYKcmyk(0%, 17.1%, 68.6%, 31.4%)
CIE-LABlab(61.34, 1.26, 50.17)
CIE-LCHlch(61.34, 50.18, 88.56°)
OKLaboklab(66.73% -0.0007 0.1131)
OKLCHoklch(66.73% 0.113 90.3)
XYZxyz(28.4957, 29.6423, 7.8343)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9137 #3755AF
analogous
#AF5537 #AF9137 #91AF37
triadic
#AF9137 #37AF91 #9137AF
tetradic
#AF9137 #37AF55 #3755AF #AF3791
square
#AF9137 #37AF55 #3755AF #AF3791
split-complementary
#AF9137 #3791AF #5537AF
monochromatic
#52441A #806A28 #AF9137 #CBAE59 #D9C587

Accessibility & contrast

On white

3.03
#AF9137 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AF9137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9137
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9137#FFFFFF#000000##000000
##AF91371.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2C
Deuteranopia (green-blind)
#A8983B
Tritanopia (blue-blind)
#BD857E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9137;
/* rgb */ color: rgb(175, 145, 55);
/* oklch */ color: oklch(66.7% 0.113 90.3);
Tailwind
colors: {
  custom: {
    50: '#cab072',
    500: '#af9137',
    950: '#000000',
  },
}
SCSS
$custom: #af9137;
$custom-light: #cab072;
$custom-dark: #000000;
JSON
{
  "hex": "#af9137",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 55
  },
  "hsl": {
    "h": 45,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66729,
    "c": 0.11306,
    "h": 90.3
  },
  "luminance": 0.29641
}

Semantic roles & 50–950 ramp

primary
#AF9137
secondary
#7F90C3
accent
#70DC4C
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9137

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

Preview Lab → · Contrast checker → · Palette generator →

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