#AF952C#AF952C

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

Color values

HEX#AF952C
RGBrgb(175, 149, 44)
HSLhsl(48, 60%, 43%)
HSVhsv(48, 75%, 69%)
CMYKcmyk(0%, 14.9%, 74.9%, 31.4%)
CIE-LABlab(62.33, -1.48, 55.69)
CIE-LCHlch(62.33, 55.71, 91.53°)
OKLaboklab(67.48% -0.0098 0.1227)
OKLCHoklch(67.48% 0.123 94.6)
XYZxyz(28.8828, 30.7923, 6.8046)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF952C #2C46AF
analogous
#AF542C #AF952C #87AF2C
triadic
#AF952C #2CAF95 #952CAF
tetradic
#AF952C #2CAF54 #2C46AF #AF2C87
square
#AF952C #2CAF54 #2C46AF #AF2C87
split-complementary
#AF952C #2C87AF #542CAF
monochromatic
#4D4213 #7E6B20 #AF952C #D1B647 #DDC978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF952C#FFFFFF#000000##000000
##AF952C1.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)
#A5921A
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#BD8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af952c;
/* rgb */ color: rgb(175, 149, 44);
/* oklch */ color: oklch(67.5% 0.123 94.6);
Tailwind
colors: {
  custom: {
    50: '#cbb36d',
    500: '#af952c',
    950: '#000000',
  },
}
SCSS
$custom: #af952c;
$custom-light: #cbb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#af952c",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 44
  },
  "hsl": {
    "h": 48.092,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.12309,
    "h": 94.6
  },
  "luminance": 0.30791
}

Semantic roles & 50–950 ramp

primary
#AF952C
secondary
#7282C5
accent
#64E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF952C

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

Preview Lab → · Contrast checker → · Palette generator →

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