#AB982E#AB982E

#AB982E is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.124 H 98.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AB982E
RGBrgb(171, 152, 46)
HSLhsl(51, 58%, 43%)
HSVhsv(51, 73%, 67%)
CMYKcmyk(0%, 11.1%, 73.1%, 32.9%)
CIE-LABlab(62.77, -4.80, 55.21)
CIE-LCHlch(62.77, 55.42, 94.97°)
OKLaboklab(67.75% -0.0188 0.1222)
OKLCHoklch(67.75% 0.124 98.8)
XYZxyz(28.5173, 31.3131, 7.1262)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB982E #2E41AB
analogous
#AB592E #AB982E #80AB2E
triadic
#AB982E #2EAB98 #982EAB
tetradic
#AB982E #2EAB59 #2E41AB #AB2E80
square
#AB982E #2EAB59 #2E41AB #AB2E80
split-complementary
#AB982E #2E80AB #592EAB
monochromatic
#4B4214 #7B6D21 #AB982E #CEBA48 #DBCC79

Accessibility & contrast

On white

2.89
#AB982E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AB982E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB982E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB982E#FFFFFF#000000##000000
##AB982E1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#B98D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab982e;
/* rgb */ color: rgb(171, 152, 46);
/* oklch */ color: oklch(67.7% 0.124 98.8);
Tailwind
colors: {
  custom: {
    50: '#c8b66e',
    500: '#ab982e',
    950: '#000000',
  },
}
SCSS
$custom: #ab982e;
$custom-light: #c8b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab982e",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 50.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67745,
    "c": 0.12368,
    "h": 98.8
  },
  "luminance": 0.31312
}

Semantic roles & 50–950 ramp

primary
#AB982E
secondary
#727EC3
accent
#5EE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB982E

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

Preview Lab → · Contrast checker → · Palette generator →

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