#AB9B2E#AB9B2E

#AB9B2E is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.126 H 100.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#AB9B2E
RGBrgb(171, 155, 46)
HSLhsl(52, 58%, 43%)
HSVhsv(52, 73%, 67%)
CMYKcmyk(0%, 9.4%, 73.1%, 32.9%)
CIE-LABlab(63.59, -6.41, 56.01)
CIE-LCHlch(63.59, 56.38, 96.53°)
OKLaboklab(68.39% -0.0234 0.1239)
OKLCHoklch(68.39% 0.126 100.7)
XYZxyz(29.0104, 32.2992, 7.2905)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B2E #2E3EAB
analogous
#AB5C2E #AB9B2E #7DAB2E
triadic
#AB9B2E #2EAB9B #9B2EAB
tetradic
#AB9B2E #2EAB5C #2E3EAB #AB2E7D
square
#AB9B2E #2EAB5C #2E3EAB #AB2E7D
split-complementary
#AB9B2E #2E7DAB #5C2EAB
monochromatic
#4B4414 #7B6F21 #AB9B2E #CEBD48 #DBCE79

Accessibility & contrast

On white

2.82
#AB9B2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#AB9B2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B2E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B2E#FFFFFF#000000##000000
##AB9B2E1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#AE9D35
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b2e;
/* rgb */ color: rgb(171, 155, 46);
/* oklch */ color: oklch(68.4% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#c8b86e',
    500: '#ab9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b2e;
$custom-light: #c8b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b2e",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 52.32,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68394,
    "c": 0.12612,
    "h": 100.7
  },
  "luminance": 0.32298
}

Semantic roles & 50–950 ramp

primary
#AB9B2E
secondary
#727CC3
accent
#5BE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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