#AB942E#AB942E

#AB942E is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.9% C 0.121 H 96.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#AB942E
RGBrgb(171, 148, 46)
HSLhsl(49, 58%, 43%)
HSVhsv(49, 73%, 67%)
CMYKcmyk(0%, 13.5%, 73.1%, 32.9%)
CIE-LABlab(61.69, -2.64, 54.15)
CIE-LCHlch(61.69, 54.22, 92.79°)
OKLaboklab(66.88% -0.0127 0.12)
OKLCHoklch(66.88% 0.121 96)
XYZxyz(27.8791, 30.0365, 6.9134)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB942E #2E45AB
analogous
#AB552E #AB942E #84AB2E
triadic
#AB942E #2EAB94 #942EAB
tetradic
#AB942E #2EAB55 #2E45AB #AB2E84
square
#AB942E #2EAB55 #2E45AB #AB2E84
split-complementary
#AB942E #2E84AB #552EAB
monochromatic
#4B4114 #7B6A21 #AB942E #CEB548 #DBC979

Accessibility & contrast

On white

3.00
#AB942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#AB942E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB942E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB942E#FFFFFF#000000##000000
##AB942E1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911E
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#B98880
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab942e;
/* rgb */ color: rgb(171, 148, 46);
/* oklch */ color: oklch(66.9% 0.121 96.0);
Tailwind
colors: {
  custom: {
    50: '#c8b36e',
    500: '#ab942e',
    950: '#000000',
  },
}
SCSS
$custom: #ab942e;
$custom-light: #c8b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab942e",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 48.96,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.12067,
    "h": 96
  },
  "luminance": 0.30035
}

Semantic roles & 50–950 ramp

primary
#AB942E
secondary
#7281C3
accent
#63E147
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB942E

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

Preview Lab → · Contrast checker → · Palette generator →

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