#AF9739#AF9739

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

Color values

HEX#AF9739
RGBrgb(175, 151, 57)
HSLhsl(48, 51%, 45%)
HSVhsv(48, 67%, 69%)
CMYKcmyk(0%, 13.7%, 67.4%, 31.4%)
CIE-LABlab(62.96, -1.89, 50.99)
CIE-LCHlch(62.96, 51.02, 92.12°)
OKLaboklab(68.01% -0.0095 0.1151)
OKLCHoklch(68.01% 0.116 94.7)
XYZxyz(29.4857, 31.5441, 8.4056)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9739 #3951AF
analogous
#AF5C39 #AF9739 #8CAF39
triadic
#AF9739 #39AF97 #9739AF
tetradic
#AF9739 #39AF5C #3951AF #AF398C
square
#AF9739 #39AF5C #3951AF #AF398C
split-complementary
#AF9739 #398CAF #5C39AF
monochromatic
#53471B #816F2A #AF9739 #CAB35B #D9C98A

Accessibility & contrast

On white

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

On black

7.31
#AF9739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9739
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9739#FFFFFF#000000##000000
##AF97391.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942D
Deuteranopia (green-blind)
#AC9C3E
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9739;
/* rgb */ color: rgb(175, 151, 57);
/* oklch */ color: oklch(68.0% 0.116 94.7);
Tailwind
colors: {
  custom: {
    50: '#cab574',
    500: '#af9739',
    950: '#000000',
  },
}
SCSS
$custom: #af9739;
$custom-light: #cab574;
$custom-dark: #000000;
JSON
{
  "hex": "#af9739",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 57
  },
  "hsl": {
    "h": 47.797,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68014,
    "c": 0.11553,
    "h": 94.7
  },
  "luminance": 0.31543
}

Semantic roles & 50–950 ramp

primary
#AF9739
secondary
#818EC3
accent
#6ADA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9739

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

Preview Lab → · Contrast checker → · Palette generator →

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