#AB952A#AB952A

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

Color values

HEX#AB952A
RGBrgb(171, 149, 42)
HSLhsl(50, 61%, 42%)
HSVhsv(50, 75%, 67%)
CMYKcmyk(0%, 12.9%, 75.4%, 32.9%)
CIE-LABlab(61.93, -3.37, 55.92)
CIE-LCHlch(61.93, 56.02, 93.45°)
OKLaboklab(67.07% -0.0152 0.123)
OKLCHoklch(67.07% 0.124 97)
XYZxyz(27.9614, 30.3215, 6.5699)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB952A #2A40AB
analogous
#AB542A #AB952A #81AB2A
triadic
#AB952A #2AAB95 #952AAB
tetradic
#AB952A #2AAB54 #2A40AB #AB2A81
square
#AB952A #2AAB54 #2A40AB #AB2A81
split-complementary
#AB952A #2A81AB #542AAB
monochromatic
#493F12 #7A6A1E #AB952A #D1B842 #DDCB73

Accessibility & contrast

On white

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

On black

7.06
#AB952A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB952A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB952A#FFFFFF#000000##000000
##AB952A1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab952a;
/* rgb */ color: rgb(171, 149, 42);
/* oklch */ color: oklch(67.1% 0.124 97.0);
Tailwind
colors: {
  custom: {
    50: '#c8b36c',
    500: '#ab952a',
    950: '#000000',
  },
}
SCSS
$custom: #ab952a;
$custom-light: #c8b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab952a",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 49.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67071,
    "c": 0.12389,
    "h": 97
  },
  "luminance": 0.3032
}

Semantic roles & 50–950 ramp

primary
#AB952A
secondary
#6D7CC4
accent
#5FE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB952A

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

Preview Lab → · Contrast checker → · Palette generator →

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