#AF9531#AF9531

#AF9531 is a light, moderate yellow. Relative luminance 0.308; OKLCH L 67.5% C 0.120 H 94.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AF9531
RGBrgb(175, 149, 49)
HSLhsl(48, 56%, 44%)
HSVhsv(48, 72%, 69%)
CMYKcmyk(0%, 14.9%, 72%, 31.4%)
CIE-LABlab(62.37, -1.24, 53.75)
CIE-LCHlch(62.37, 53.77, 91.33°)
OKLaboklab(67.52% -0.0086 0.1196)
OKLCHoklch(67.52% 0.12 94.1)
XYZxyz(28.9825, 30.8322, 7.3298)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9531 #314BAF
analogous
#AF5631 #AF9531 #8AAF31
triadic
#AF9531 #31AF95 #9531AF
tetradic
#AF9531 #31AF56 #314BAF #AF318A
square
#AF9531 #31AF56 #314BAF #AF318A
split-complementary
#AF9531 #318AAF #5631AF
monochromatic
#4F4416 #7F6C24 #AF9531 #CEB44F #DBC87F

Accessibility & contrast

On white

2.93
#AF9531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AF9531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9531
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9531#FFFFFF#000000##000000
##AF95311.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59222
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9531;
/* rgb */ color: rgb(175, 149, 49);
/* oklch */ color: oklch(67.5% 0.120 94.1);
Tailwind
colors: {
  custom: {
    50: '#cbb36f',
    500: '#af9531',
    950: '#000000',
  },
}
SCSS
$custom: #af9531;
$custom-light: #cbb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9531",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 47.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67521,
    "c": 0.11988,
    "h": 94.1
  },
  "luminance": 0.30831
}

Semantic roles & 50–950 ramp

primary
#AF9531
secondary
#7887C4
accent
#67E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9531

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

Preview Lab → · Contrast checker → · Palette generator →

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