#AB952D#AB952D

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

Color values

HEX#AB952D
RGBrgb(171, 149, 45)
HSLhsl(50, 58%, 42%)
HSVhsv(50, 74%, 67%)
CMYKcmyk(0%, 12.9%, 73.7%, 32.9%)
CIE-LABlab(61.95, -3.23, 54.80)
CIE-LCHlch(61.95, 54.90, 93.37°)
OKLaboklab(67.09% -0.0145 0.1212)
OKLCHoklch(67.09% 0.122 96.8)
XYZxyz(28.0171, 30.3437, 6.8633)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB952D #2D43AB
analogous
#AB562D #AB952D #82AB2D
triadic
#AB952D #2DAB95 #952DAB
tetradic
#AB952D #2DAB56 #2D43AB #AB2D82
square
#AB952D #2DAB56 #2D43AB #AB2D82
split-complementary
#AB952D #2D82AB #562DAB
monochromatic
#4A4114 #7B6B20 #AB952D #CEB747 #DBCA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB952D#FFFFFF#000000##000000
##AB952D1.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)
#A4921C
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab952d;
/* rgb */ color: rgb(171, 149, 45);
/* oklch */ color: oklch(67.1% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#c8b36d',
    500: '#ab952d',
    950: '#000000',
  },
}
SCSS
$custom: #ab952d;
$custom-light: #c8b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab952d",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 49.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67092,
    "c": 0.12204,
    "h": 96.8
  },
  "luminance": 0.30342
}

Semantic roles & 50–950 ramp

primary
#AB952D
secondary
#717FC3
accent
#61E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB952D

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

Preview Lab → · Contrast checker → · Palette generator →

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