#AF9439#AF9439

#AF9439 is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.4% C 0.113 H 92.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AF9439
RGBrgb(175, 148, 57)
HSLhsl(46, 51%, 45%)
HSVhsv(46, 67%, 69%)
CMYKcmyk(0%, 15.4%, 67.4%, 31.4%)
CIE-LABlab(62.16, -0.26, 50.14)
CIE-LCHlch(62.16, 50.14, 90.29°)
OKLaboklab(67.38% -0.0048 0.1134)
OKLCHoklch(67.38% 0.113 92.4)
XYZxyz(29.0091, 30.5908, 8.2467)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9439 #3954AF
analogous
#AF5939 #AF9439 #8FAF39
triadic
#AF9439 #39AF94 #9439AF
tetradic
#AF9439 #39AF59 #3954AF #AF398F
square
#AF9439 #39AF59 #3954AF #AF398F
split-complementary
#AF9439 #398FAF #5939AF
monochromatic
#53461B #816D2A #AF9439 #CAB15B #D9C78A

Accessibility & contrast

On white

2.95
#AF9439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AF9439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9439
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9439#FFFFFF#000000##000000
##AF94391.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3922E
Deuteranopia (green-blind)
#AA9A3D
Tritanopia (blue-blind)
#BD8881
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9439;
/* rgb */ color: rgb(175, 148, 57);
/* oklch */ color: oklch(67.4% 0.113 92.4);
Tailwind
colors: {
  custom: {
    50: '#cab374',
    500: '#af9439',
    950: '#000000',
  },
}
SCSS
$custom: #af9439;
$custom-light: #cab374;
$custom-dark: #000000;
JSON
{
  "hex": "#af9439",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 57
  },
  "hsl": {
    "h": 46.271,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67379,
    "c": 0.11345,
    "h": 92.4
  },
  "luminance": 0.30589
}

Semantic roles & 50–950 ramp

primary
#AF9439
secondary
#8190C3
accent
#6EDA4D
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9439

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

Preview Lab → · Contrast checker → · Palette generator →

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