#AF952B#AF952B

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

Color values

HEX#AF952B
RGBrgb(175, 149, 43)
HSLhsl(48, 61%, 43%)
HSVhsv(48, 75%, 69%)
CMYKcmyk(0%, 14.9%, 75.4%, 31.4%)
CIE-LABlab(62.33, -1.53, 56.06)
CIE-LCHlch(62.33, 56.08, 91.56°)
OKLaboklab(67.48% -0.0101 0.1233)
OKLCHoklch(67.48% 0.124 94.7)
XYZxyz(28.8642, 30.7849, 6.7068)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF952B #2B45AF
analogous
#AF532B #AF952B #87AF2B
triadic
#AF952B #2BAF95 #952BAF
tetradic
#AF952B #2BAF53 #2B45AF #AF2B87
square
#AF952B #2BAF53 #2B45AF #AF2B87
split-complementary
#AF952B #2B87AF #532BAF
monochromatic
#4D4113 #7E6B1F #AF952B #D1B646 #DEC977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF952B#FFFFFF#000000##000000
##AF952B1.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)
#A59218
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#BD8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af952b;
/* rgb */ color: rgb(175, 149, 43);
/* oklch */ color: oklch(67.5% 0.124 94.7);
Tailwind
colors: {
  custom: {
    50: '#cbb36c',
    500: '#af952b',
    950: '#000000',
  },
}
SCSS
$custom: #af952b;
$custom-light: #cbb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#af952b",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 48.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67476,
    "c": 0.1237,
    "h": 94.7
  },
  "luminance": 0.30783
}

Semantic roles & 50–950 ramp

primary
#AF952B
secondary
#7081C5
accent
#64E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF952B

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

Preview Lab → · Contrast checker → · Palette generator →

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