#AF952D#AF952D

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

Color values

HEX#AF952D
RGBrgb(175, 149, 45)
HSLhsl(48, 59%, 43%)
HSVhsv(48, 74%, 69%)
CMYKcmyk(0%, 14.9%, 74.3%, 31.4%)
CIE-LABlab(62.34, -1.44, 55.31)
CIE-LCHlch(62.34, 55.33, 91.49°)
OKLaboklab(67.49% -0.0096 0.1221)
OKLCHoklch(67.49% 0.122 94.5)
XYZxyz(28.9018, 30.7999, 6.9048)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF952D #2D47AF
analogous
#AF542D #AF952D #88AF2D
triadic
#AF952D #2DAF95 #952DAF
tetradic
#AF952D #2DAF54 #2D47AF #AF2D88
square
#AF952D #2DAF54 #2D47AF #AF2D88
split-complementary
#AF952D #2D88AF #542DAF
monochromatic
#4E4214 #7E6C20 #AF952D #D0B549 #DDC97A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF952D#FFFFFF#000000##000000
##AF952D1.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)
#A5921C
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af952d;
/* rgb */ color: rgb(175, 149, 45);
/* oklch */ color: oklch(67.5% 0.122 94.5);
Tailwind
colors: {
  custom: {
    50: '#cbb36d',
    500: '#af952d',
    950: '#000000',
  },
}
SCSS
$custom: #af952d;
$custom-light: #cbb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#af952d",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 48,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6749,
    "c": 0.12248,
    "h": 94.5
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#AF952D
secondary
#7383C5
accent
#65E246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF952D

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

Preview Lab → · Contrast checker → · Palette generator →

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