#AF9532#AF9532

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

Color values

HEX#AF9532
RGBrgb(175, 149, 50)
HSLhsl(48, 56%, 44%)
HSVhsv(48, 71%, 69%)
CMYKcmyk(0%, 14.9%, 71.4%, 31.4%)
CIE-LABlab(62.37, -1.19, 53.35)
CIE-LCHlch(62.37, 53.37, 91.28°)
OKLaboklab(67.53% -0.0083 0.1189)
OKLCHoklch(67.53% 0.119 94)
XYZxyz(29.0039, 30.8408, 7.4422)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9532 #324CAF
analogous
#AF5732 #AF9532 #8BAF32
triadic
#AF9532 #32AF95 #9532AF
tetradic
#AF9532 #32AF57 #324CAF #AF328B
square
#AF9532 #32AF57 #324CAF #AF328B
split-complementary
#AF9532 #328BAF #5732AF
monochromatic
#504417 #7F6C24 #AF9532 #CDB351 #DBC881

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9532#FFFFFF#000000##000000
##AF95321.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)
#A59224
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9532;
/* rgb */ color: rgb(175, 149, 50);
/* oklch */ color: oklch(67.5% 0.119 94.0);
Tailwind
colors: {
  custom: {
    50: '#cab370',
    500: '#af9532',
    950: '#000000',
  },
}
SCSS
$custom: #af9532;
$custom-light: #cab370;
$custom-dark: #000000;
JSON
{
  "hex": "#af9532",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 50
  },
  "hsl": {
    "h": 47.52,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.1192,
    "h": 94
  },
  "luminance": 0.30839
}

Semantic roles & 50–950 ramp

primary
#AF9532
secondary
#7988C4
accent
#68DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9532

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

Preview Lab → · Contrast checker → · Palette generator →

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