#AF9F39#AF9F39

#AF9F39 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.7% C 0.122 H 100.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#AF9F39
RGBrgb(175, 159, 57)
HSLhsl(52, 51%, 45%)
HSVhsv(52, 67%, 69%)
CMYKcmyk(0%, 9.1%, 67.4%, 31.4%)
CIE-LABlab(65.13, -6.19, 53.24)
CIE-LCHlch(65.13, 53.60, 96.63°)
OKLaboklab(69.73% -0.0218 0.1199)
OKLCHoklch(69.73% 0.122 100.3)
XYZxyz(30.8172, 34.2070, 8.8494)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F39 #3949AF
analogous
#AF6439 #AF9F39 #84AF39
triadic
#AF9F39 #39AF9F #9F39AF
tetradic
#AF9F39 #39AF64 #3949AF #AF3984
square
#AF9F39 #39AF64 #3949AF #AF3984
split-complementary
#AF9F39 #3984AF #6439AF
monochromatic
#534B1B #81752A #AF9F39 #CABB5B #D9CE8A

Accessibility & contrast

On white

2.68
#AF9F39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#AF9F39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F39
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F39#FFFFFF#000000##000000
##AF9F391.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2C
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#BC948A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9f39;
/* rgb */ color: rgb(175, 159, 57);
/* oklch */ color: oklch(69.7% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#cabb75',
    500: '#af9f39',
    950: '#000000',
  },
}
SCSS
$custom: #af9f39;
$custom-light: #cabb75;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f39",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 57
  },
  "hsl": {
    "h": 51.864,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69726,
    "c": 0.12187,
    "h": 100.3
  },
  "luminance": 0.34206
}

Semantic roles & 50–950 ramp

primary
#AF9F39
secondary
#818AC3
accent
#61DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9F39

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

Preview Lab → · Contrast checker → · Palette generator →

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