#AF952A#AF952A

#AF952A is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.5% C 0.124 H 94.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#AF952A
RGBrgb(175, 149, 42)
HSLhsl(48, 61%, 43%)
HSVhsv(48, 76%, 69%)
CMYKcmyk(0%, 14.9%, 76%, 31.4%)
CIE-LABlab(62.32, -1.57, 56.42)
CIE-LCHlch(62.32, 56.45, 91.60°)
OKLaboklab(67.47% -0.0103 0.1239)
OKLCHoklch(67.47% 0.124 94.8)
XYZxyz(28.8461, 30.7777, 6.6113)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF952A #2A44AF
analogous
#AF532A #AF952A #86AF2A
triadic
#AF952A #2AAF95 #952AAF
tetradic
#AF952A #2AAF53 #2A44AF #AF2A86
square
#AF952A #2AAF53 #2A44AF #AF2A86
split-complementary
#AF952A #2A86AF #532AAF
monochromatic
#4C4112 #7E6B1E #AF952A #D2B644 #DECA75

Accessibility & contrast

On white

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

On black

7.16
#AF952A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF952A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF952A#FFFFFF#000000##000000
##AF952A1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#BD8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af952a;
/* rgb */ color: rgb(175, 149, 42);
/* oklch */ color: oklch(67.5% 0.124 94.8);
Tailwind
colors: {
  custom: {
    50: '#cbb36c',
    500: '#af952a',
    950: '#000000',
  },
}
SCSS
$custom: #af952a;
$custom-light: #cbb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#af952a",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 48.271,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67469,
    "c": 0.12429,
    "h": 94.8
  },
  "luminance": 0.30776
}

Semantic roles & 50–950 ramp

primary
#AF952A
secondary
#6F80C6
accent
#63E443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF952A

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

Preview Lab → · Contrast checker → · Palette generator →

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