#AF9339#AF9339

#AF9339 is a light, moderate yellow. Relative luminance 0.303; OKLCH L 67.2% C 0.113 H 91.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AF9339
RGBrgb(175, 147, 57)
HSLhsl(46, 51%, 45%)
HSVhsv(46, 67%, 69%)
CMYKcmyk(0%, 16%, 67.4%, 31.4%)
CIE-LABlab(61.89, 0.29, 49.86)
CIE-LCHlch(61.89, 49.86, 89.67°)
OKLaboklab(67.17% -0.0032 0.1128)
OKLCHoklch(67.17% 0.113 91.6)
XYZxyz(28.8529, 30.2784, 8.1947)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9339 #3955AF
analogous
#AF5839 #AF9339 #90AF39
triadic
#AF9339 #39AF93 #9339AF
tetradic
#AF9339 #39AF58 #3955AF #AF3990
square
#AF9339 #39AF58 #3955AF #AF3990
split-complementary
#AF9339 #3990AF #5839AF
monochromatic
#53451B #816C2A #AF9339 #CAB05B #D9C68A

Accessibility & contrast

On white

2.98
#AF9339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AF9339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9339
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9339#FFFFFF#000000##000000
##AF93391.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912E
Deuteranopia (green-blind)
#A9993D
Tritanopia (blue-blind)
#BD8780
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9339;
/* rgb */ color: rgb(175, 147, 57);
/* oklch */ color: oklch(67.2% 0.113 91.6);
Tailwind
colors: {
  custom: {
    50: '#cab274',
    500: '#af9339',
    950: '#000000',
  },
}
SCSS
$custom: #af9339;
$custom-light: #cab274;
$custom-dark: #000000;
JSON
{
  "hex": "#af9339",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 57
  },
  "hsl": {
    "h": 45.763,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.1128,
    "h": 91.6
  },
  "luminance": 0.30277
}

Semantic roles & 50–950 ramp

primary
#AF9339
secondary
#8190C3
accent
#6FDA4D
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9339

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

Preview Lab → · Contrast checker → · Palette generator →

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