#AB952C#AB952C

#AB952C is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.1% C 0.123 H 96.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AB952C
RGBrgb(171, 149, 44)
HSLhsl(50, 59%, 42%)
HSVhsv(50, 74%, 67%)
CMYKcmyk(0%, 12.9%, 74.3%, 32.9%)
CIE-LABlab(61.94, -3.28, 55.18)
CIE-LCHlch(61.94, 55.28, 93.40°)
OKLaboklab(67.08% -0.0147 0.1218)
OKLCHoklch(67.08% 0.123 96.9)
XYZxyz(27.9981, 30.3361, 6.7631)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB952C #2C42AB
analogous
#AB552C #AB952C #82AB2C
triadic
#AB952C #2CAB95 #952CAB
tetradic
#AB952C #2CAB55 #2C42AB #AB2C82
square
#AB952C #2CAB55 #2C42AB #AB2C82
split-complementary
#AB952C #2C82AB #552CAB
monochromatic
#4A4013 #7A6B1F #AB952C #CFB745 #DCCA76

Accessibility & contrast

On white

2.97
#AB952C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AB952C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB952C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB952C#FFFFFF#000000##000000
##AB952C1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921A
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab952c;
/* rgb */ color: rgb(171, 149, 44);
/* oklch */ color: oklch(67.1% 0.123 96.9);
Tailwind
colors: {
  custom: {
    50: '#c8b36d',
    500: '#ab952c',
    950: '#000000',
  },
}
SCSS
$custom: #ab952c;
$custom-light: #c8b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab952c",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 44
  },
  "hsl": {
    "h": 49.606,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67085,
    "c": 0.12267,
    "h": 96.9
  },
  "luminance": 0.30335
}

Semantic roles & 50–950 ramp

primary
#AB952C
secondary
#6F7EC3
accent
#61E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB952C

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

Preview Lab → · Contrast checker → · Palette generator →

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