#AF952E#AF952E

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

Color values

HEX#AF952E
RGBrgb(175, 149, 46)
HSLhsl(48, 58%, 43%)
HSVhsv(48, 74%, 69%)
CMYKcmyk(0%, 14.9%, 73.7%, 31.4%)
CIE-LABlab(62.34, -1.39, 54.93)
CIE-LCHlch(62.34, 54.95, 91.45°)
OKLaboklab(67.5% -0.0094 0.1215)
OKLCHoklch(67.5% 0.122 94.4)
XYZxyz(28.9213, 30.8077, 7.0074)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF952E #2E48AF
analogous
#AF542E #AF952E #88AF2E
triadic
#AF952E #2EAF95 #952EAF
tetradic
#AF952E #2EAF54 #2E48AF #AF2E88
square
#AF952E #2EAF54 #2E48AF #AF2E88
split-complementary
#AF952E #2E88AF #542EAF
monochromatic
#4E4215 #7F6C21 #AF952E #D0B54B #DCC97B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF952E#FFFFFF#000000##000000
##AF952E1.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)
#A5921D
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af952e;
/* rgb */ color: rgb(175, 149, 46);
/* oklch */ color: oklch(67.5% 0.122 94.4);
Tailwind
colors: {
  custom: {
    50: '#cbb36e',
    500: '#af952e',
    950: '#000000',
  },
}
SCSS
$custom: #af952e;
$custom-light: #cbb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#af952e",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 47.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.12184,
    "h": 94.4
  },
  "luminance": 0.30806
}

Semantic roles & 50–950 ramp

primary
#AF952E
secondary
#7484C5
accent
#66E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AF952E

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

Preview Lab → · Contrast checker → · Palette generator →

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