#AB922D#AB922D

#AB922D is a light, moderate yellow. Relative luminance 0.294; OKLCH L 66.5% C 0.120 H 94.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AB922D
RGBrgb(171, 146, 45)
HSLhsl(48, 58%, 42%)
HSVhsv(48, 74%, 67%)
CMYKcmyk(0%, 14.6%, 73.7%, 32.9%)
CIE-LABlab(61.14, -1.60, 54.01)
CIE-LCHlch(61.14, 54.03, 91.70°)
OKLaboklab(66.45% -0.0098 0.1195)
OKLCHoklch(66.45% 0.12 94.7)
XYZxyz(27.5486, 29.4067, 6.7071)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB922D #2D46AB
analogous
#AB532D #AB922D #85AB2D
triadic
#AB922D #2DAB92 #922DAB
tetradic
#AB922D #2DAB53 #2D46AB #AB2D85
square
#AB922D #2DAB53 #2D46AB #AB2D85
split-complementary
#AB922D #2D85AB #532DAB
monochromatic
#4A3F14 #7B6920 #AB922D #CEB447 #DBC777

Accessibility & contrast

On white

3.05
#AB922D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AB922D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB922D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB922D#FFFFFF#000000##000000
##AB922D1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1D
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#B9867E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab922d;
/* rgb */ color: rgb(171, 146, 45);
/* oklch */ color: oklch(66.5% 0.120 94.7);
Tailwind
colors: {
  custom: {
    50: '#c8b16d',
    500: '#ab922d',
    950: '#000000',
  },
}
SCSS
$custom: #ab922d;
$custom-light: #c8b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab922d",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 45
  },
  "hsl": {
    "h": 48.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6645,
    "c": 0.1199,
    "h": 94.7
  },
  "luminance": 0.29405
}

Semantic roles & 50–950 ramp

primary
#AB922D
secondary
#7181C3
accent
#65E246
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB922D

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

Preview Lab → · Contrast checker → · Palette generator →

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