#AF952F#AF952F

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

Color values

HEX#AF952F
RGBrgb(175, 149, 47)
HSLhsl(48, 58%, 44%)
HSVhsv(48, 73%, 69%)
CMYKcmyk(0%, 14.9%, 73.1%, 31.4%)
CIE-LABlab(62.35, -1.34, 54.54)
CIE-LCHlch(62.35, 54.56, 91.41°)
OKLaboklab(67.51% -0.0091 0.1209)
OKLCHoklch(67.51% 0.121 94.3)
XYZxyz(28.9413, 30.8157, 7.1124)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF952F #2F49AF
analogous
#AF552F #AF952F #89AF2F
triadic
#AF952F #2FAF95 #952FAF
tetradic
#AF952F #2FAF55 #2F49AF #AF2F89
square
#AF952F #2FAF55 #2F49AF #AF2F89
split-complementary
#AF952F #2F89AF #552FAF
monochromatic
#4F4315 #7F6C22 #AF952F #CFB44C #DCC97C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF952F#FFFFFF#000000##000000
##AF952F1.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)
#A5921F
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af952f;
/* rgb */ color: rgb(175, 149, 47);
/* oklch */ color: oklch(67.5% 0.121 94.3);
Tailwind
colors: {
  custom: {
    50: '#cbb36e',
    500: '#af952f',
    950: '#000000',
  },
}
SCSS
$custom: #af952f;
$custom-light: #cbb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#af952f",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 47.813,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67505,
    "c": 0.1212,
    "h": 94.3
  },
  "luminance": 0.30814
}

Semantic roles & 50–950 ramp

primary
#AF952F
secondary
#7585C4
accent
#66E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF952F

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

Preview Lab → · Contrast checker → · Palette generator →

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