#AF9939#AF9939

#AF9939 is a light, moderate yellow. Relative luminance 0.322; OKLCH L 68.4% C 0.117 H 96.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AF9939
RGBrgb(175, 153, 57)
HSLhsl(49, 51%, 45%)
HSVhsv(49, 67%, 69%)
CMYKcmyk(0%, 12.6%, 67.4%, 31.4%)
CIE-LABlab(63.50, -2.97, 51.55)
CIE-LCHlch(63.50, 51.64, 93.30°)
OKLaboklab(68.44% -0.0126 0.1163)
OKLCHoklch(68.44% 0.117 96.2)
XYZxyz(29.8103, 32.1933, 8.5138)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9939 #394FAF
analogous
#AF5E39 #AF9939 #8AAF39
triadic
#AF9939 #39AF99 #9939AF
tetradic
#AF9939 #39AF5E #394FAF #AF398A
square
#AF9939 #39AF5E #394FAF #AF398A
split-complementary
#AF9939 #398AAF #5E39AF
monochromatic
#53481B #81712A #AF9939 #CAB55B #D9CA8A

Accessibility & contrast

On white

2.82
#AF9939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AF9939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9939
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9939#FFFFFF#000000##000000
##AF99391.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962D
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9939;
/* rgb */ color: rgb(175, 153, 57);
/* oklch */ color: oklch(68.4% 0.117 96.2);
Tailwind
colors: {
  custom: {
    50: '#cab674',
    500: '#af9939',
    950: '#000000',
  },
}
SCSS
$custom: #af9939;
$custom-light: #cab674;
$custom-dark: #000000;
JSON
{
  "hex": "#af9939",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 57
  },
  "hsl": {
    "h": 48.814,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68439,
    "c": 0.11701,
    "h": 96.2
  },
  "luminance": 0.32192
}

Semantic roles & 50–950 ramp

primary
#AF9939
secondary
#818DC3
accent
#68DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9939

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

Preview Lab → · Contrast checker → · Palette generator →

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