#AB9E2E#AB9E2E

#AB9E2E is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.129 H 102.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AB9E2E
RGBrgb(171, 158, 46)
HSLhsl(54, 58%, 43%)
HSVhsv(54, 73%, 67%)
CMYKcmyk(0%, 7.6%, 73.1%, 32.9%)
CIE-LABlab(64.41, -8.01, 56.81)
CIE-LCHlch(64.41, 57.37, 98.03°)
OKLaboklab(69.05% -0.0279 0.1256)
OKLCHoklch(69.05% 0.129 102.5)
XYZxyz(29.5159, 33.3102, 7.4590)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E2E #2E3BAB
analogous
#AB5F2E #AB9E2E #7AAB2E
triadic
#AB9E2E #2EAB9E #9E2EAB
tetradic
#AB9E2E #2EAB5F #2E3BAB #AB2E7A
square
#AB9E2E #2EAB5F #2E3BAB #AB2E7A
split-complementary
#AB9E2E #2E7AAB #5F2EAB
monochromatic
#4B4514 #7B7121 #AB9E2E #CEC048 #DBD179

Accessibility & contrast

On white

2.74
#AB9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AB9E2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E2E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E2E#FFFFFF#000000##000000
##AB9E2E1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991B
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e2e;
/* rgb */ color: rgb(171, 158, 46);
/* oklch */ color: oklch(69.0% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#c8ba6f',
    500: '#ab9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e2e;
$custom-light: #c8ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e2e",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 53.76,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69047,
    "c": 0.12869,
    "h": 102.5
  },
  "luminance": 0.33309
}

Semantic roles & 50–950 ramp

primary
#AB9E2E
secondary
#727AC3
accent
#57E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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