#AB952B#AB952B

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

Color values

HEX#AB952B
RGBrgb(171, 149, 43)
HSLhsl(50, 60%, 42%)
HSVhsv(50, 75%, 67%)
CMYKcmyk(0%, 12.9%, 74.9%, 32.9%)
CIE-LABlab(61.94, -3.32, 55.55)
CIE-LCHlch(61.94, 55.65, 93.42°)
OKLaboklab(67.08% -0.015 0.1224)
OKLCHoklch(67.08% 0.123 97)
XYZxyz(27.9795, 30.3287, 6.6653)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB952B #2B41AB
analogous
#AB552B #AB952B #81AB2B
triadic
#AB952B #2BAB95 #952BAB
tetradic
#AB952B #2BAB55 #2B41AB #AB2B81
square
#AB952B #2BAB55 #2B41AB #AB2B81
split-complementary
#AB952B #2B81AB #552BAB
monochromatic
#494012 #7A6A1F #AB952B #D0B843 #DCCA74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB952B#FFFFFF#000000##000000
##AB952B1.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)
#A49218
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab952b;
/* rgb */ color: rgb(171, 149, 43);
/* oklch */ color: oklch(67.1% 0.123 97.0);
Tailwind
colors: {
  custom: {
    50: '#c8b36c',
    500: '#ab952b',
    950: '#000000',
  },
}
SCSS
$custom: #ab952b;
$custom-light: #c8b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab952b",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 49.688,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.12329,
    "h": 97
  },
  "luminance": 0.30327
}

Semantic roles & 50–950 ramp

primary
#AB952B
secondary
#6E7DC4
accent
#60E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB952B

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

Preview Lab → · Contrast checker → · Palette generator →

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