#AF9F36#AF9F36

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

Color values

HEX#AF9F36
RGBrgb(175, 159, 54)
HSLhsl(52, 53%, 45%)
HSVhsv(52, 69%, 69%)
CMYKcmyk(0%, 9.1%, 69.1%, 31.4%)
CIE-LABlab(65.10, -6.36, 54.47)
CIE-LCHlch(65.10, 54.84, 96.66°)
OKLaboklab(69.7% -0.0226 0.122)
OKLCHoklch(69.7% 0.124 100.5)
XYZxyz(30.7445, 34.1780, 8.4669)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F36 #3646AF
analogous
#AF6236 #AF9F36 #83AF36
triadic
#AF9F36 #36AF9F #9F36AF
tetradic
#AF9F36 #36AF62 #3646AF #AF3683
square
#AF9F36 #36AF62 #3646AF #AF3683
split-complementary
#AF9F36 #3683AF #6236AF
monochromatic
#514A19 #807528 #AF9F36 #CBBC57 #DACF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9F36#FFFFFF#000000##000000
##AF9F361.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)
#AE9A27
Deuteranopia (green-blind)
#B2A13C
Tritanopia (blue-blind)
#BC948A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9f36;
/* rgb */ color: rgb(175, 159, 54);
/* oklch */ color: oklch(69.7% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#cabb73',
    500: '#af9f36',
    950: '#000000',
  },
}
SCSS
$custom: #af9f36;
$custom-light: #cabb73;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f36",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 54
  },
  "hsl": {
    "h": 52.066,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69701,
    "c": 0.12407,
    "h": 100.5
  },
  "luminance": 0.34177
}

Semantic roles & 50–950 ramp

primary
#AF9F36
secondary
#7D87C3
accent
#5FDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9F36

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

Preview Lab → · Contrast checker → · Palette generator →

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