#AF9535#AF9535

#AF9535 is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.6% C 0.117 H 93.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AF9535
RGBrgb(175, 149, 53)
HSLhsl(47, 54%, 45%)
HSVhsv(47, 70%, 69%)
CMYKcmyk(0%, 14.9%, 69.7%, 31.4%)
CIE-LABlab(62.40, -1.03, 52.12)
CIE-LCHlch(62.40, 52.13, 91.13°)
OKLaboklab(67.55% -0.0075 0.1169)
OKLCHoklch(67.55% 0.117 93.7)
XYZxyz(29.0707, 30.8675, 7.7943)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9535 #354FAF
analogous
#AF5835 #AF9535 #8CAF35
triadic
#AF9535 #35AF95 #9535AF
tetradic
#AF9535 #35AF58 #354FAF #AF358C
square
#AF9535 #35AF58 #354FAF #AF358C
split-complementary
#AF9535 #358CAF #5835AF
monochromatic
#514519 #806D27 #AF9535 #CCB256 #DAC885

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9535#FFFFFF#000000##000000
##AF95351.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)
#A59228
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9535;
/* rgb */ color: rgb(175, 149, 53);
/* oklch */ color: oklch(67.6% 0.117 93.7);
Tailwind
colors: {
  custom: {
    50: '#cab372',
    500: '#af9535',
    950: '#000000',
  },
}
SCSS
$custom: #af9535;
$custom-light: #cab372;
$custom-dark: #000000;
JSON
{
  "hex": "#af9535",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 53
  },
  "hsl": {
    "h": 47.213,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67554,
    "c": 0.11709,
    "h": 93.7
  },
  "luminance": 0.30866
}

Semantic roles & 50–950 ramp

primary
#AF9535
secondary
#7C8BC4
accent
#6ADD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9535

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

Preview Lab → · Contrast checker → · Palette generator →

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