#AB972E#AB972E

#AB972E is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.123 H 98.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AB972E
RGBrgb(171, 151, 46)
HSLhsl(50, 58%, 43%)
HSVhsv(50, 73%, 67%)
CMYKcmyk(0%, 11.7%, 73.1%, 32.9%)
CIE-LABlab(62.50, -4.26, 54.95)
CIE-LCHlch(62.50, 55.11, 94.44°)
OKLaboklab(67.53% -0.0173 0.1217)
OKLCHoklch(67.53% 0.123 98.1)
XYZxyz(28.3557, 30.9898, 7.0723)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB972E #2E42AB
analogous
#AB582E #AB972E #81AB2E
triadic
#AB972E #2EAB97 #972EAB
tetradic
#AB972E #2EAB58 #2E42AB #AB2E81
square
#AB972E #2EAB58 #2E42AB #AB2E81
split-complementary
#AB972E #2E81AB #582EAB
monochromatic
#4B4214 #7B6C21 #AB972E #CEB848 #DBCB79

Accessibility & contrast

On white

2.92
#AB972E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#AB972E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB972E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB972E#FFFFFF#000000##000000
##AB972E1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#B98B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab972e;
/* rgb */ color: rgb(171, 151, 46);
/* oklch */ color: oklch(67.5% 0.123 98.1);
Tailwind
colors: {
  custom: {
    50: '#c8b56e',
    500: '#ab972e',
    950: '#000000',
  },
}
SCSS
$custom: #ab972e;
$custom-light: #c8b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab972e",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 50.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.1229,
    "h": 98.1
  },
  "luminance": 0.30988
}

Semantic roles & 50–950 ramp

primary
#AB972E
secondary
#727FC3
accent
#60E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB972E

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

Preview Lab → · Contrast checker → · Palette generator →

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