#AB9C2F#AB9C2F

#AB9C2F is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.6% C 0.126 H 101.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AB9C2F
RGBrgb(171, 156, 47)
HSLhsl(53, 57%, 43%)
HSVhsv(53, 73%, 67%)
CMYKcmyk(0%, 8.8%, 72.5%, 32.9%)
CIE-LABlab(63.87, -6.90, 55.90)
CIE-LCHlch(63.87, 56.32, 97.03°)
OKLaboklab(68.62% -0.0247 0.1239)
OKLCHoklch(68.62% 0.126 101.3)
XYZxyz(29.1975, 32.6414, 7.4512)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C2F #2F3EAB
analogous
#AB5E2F #AB9C2F #7CAB2F
triadic
#AB9C2F #2FAB9C #9C2FAB
tetradic
#AB9C2F #2FAB5E #2F3EAB #AB2F7C
square
#AB9C2F #2FAB5E #2F3EAB #AB2F7C
split-complementary
#AB9C2F #2F7CAB #5E2FAB
monochromatic
#4B4415 #7B7022 #AB9C2F #CDBD4A #DACF7A

Accessibility & contrast

On white

2.79
#AB9C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AB9C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C2F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C2F#FFFFFF#000000##000000
##AB9C2F1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971D
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#B89187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c2f;
/* rgb */ color: rgb(171, 156, 47);
/* oklch */ color: oklch(68.6% 0.126 101.3);
Tailwind
colors: {
  custom: {
    50: '#c8b86f',
    500: '#ab9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c2f;
$custom-light: #c8b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c2f",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 52.742,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.12632,
    "h": 101.3
  },
  "luminance": 0.3264
}

Semantic roles & 50–950 ramp

primary
#AB9C2F
secondary
#737DC3
accent
#5AE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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