#AF9239#AF9239

#AF9239 is a light, moderate yellow. Relative luminance 0.300; OKLCH L 67.0% C 0.112 H 90.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AF9239
RGBrgb(175, 146, 57)
HSLhsl(45, 51%, 45%)
HSVhsv(45, 67%, 69%)
CMYKcmyk(0%, 16.6%, 67.4%, 31.4%)
CIE-LABlab(61.63, 0.83, 49.58)
CIE-LCHlch(61.63, 49.58, 89.04°)
OKLaboklab(66.96% -0.0017 0.1122)
OKLCHoklch(66.96% 0.112 90.9)
XYZxyz(28.6981, 29.9688, 8.1431)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9239 #3956AF
analogous
#AF5739 #AF9239 #91AF39
triadic
#AF9239 #39AF92 #9239AF
tetradic
#AF9239 #39AF57 #3956AF #AF3991
square
#AF9239 #39AF57 #3956AF #AF3991
split-complementary
#AF9239 #3991AF #5739AF
monochromatic
#53451B #816B2A #AF9239 #CAAF5B #D9C58A

Accessibility & contrast

On white

3.00
#AF9239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AF9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9239
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9239#FFFFFF#000000##000000
##AF92391.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902E
Deuteranopia (green-blind)
#A9983D
Tritanopia (blue-blind)
#BD867F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9239;
/* rgb */ color: rgb(175, 146, 57);
/* oklch */ color: oklch(67.0% 0.112 90.9);
Tailwind
colors: {
  custom: {
    50: '#cab174',
    500: '#af9239',
    950: '#000000',
  },
}
SCSS
$custom: #af9239;
$custom-light: #cab174;
$custom-dark: #000000;
JSON
{
  "hex": "#af9239",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 45.254,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66958,
    "c": 0.11216,
    "h": 90.9
  },
  "luminance": 0.29967
}

Semantic roles & 50–950 ramp

primary
#AF9239
secondary
#8191C3
accent
#70DA4D
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9239

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

Preview Lab → · Contrast checker → · Palette generator →

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