#AB9E2B#AB9E2B

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

Color values

HEX#AB9E2B
RGBrgb(171, 158, 43)
HSLhsl(54, 60%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7.6%, 74.9%, 32.9%)
CIE-LABlab(64.39, -8.15, 57.89)
CIE-LCHlch(64.39, 58.46, 98.01°)
OKLaboklab(69.03% -0.0286 0.1273)
OKLCHoklch(69.03% 0.131 102.7)
XYZxyz(29.4588, 33.2873, 7.1584)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E2B #2B38AB
analogous
#AB5E2B #AB9E2B #78AB2B
triadic
#AB9E2B #2BAB9E #9E2BAB
tetradic
#AB9E2B #2BAB5E #2B38AB #AB2B78
square
#AB9E2B #2BAB5E #2B38AB #AB2B78
split-complementary
#AB9E2B #2B78AB #5E2BAB
monochromatic
#494412 #7A711F #AB9E2B #D0C243 #DCD274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9E2B#FFFFFF#000000##000000
##AB9E2B1.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)
#AD9915
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e2b;
/* rgb */ color: rgb(171, 158, 43);
/* oklch */ color: oklch(69.0% 0.131 102.7);
Tailwind
colors: {
  custom: {
    50: '#c8ba6d',
    500: '#ab9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e2b;
$custom-light: #c8ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e2b",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 53.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69026,
    "c": 0.13051,
    "h": 102.7
  },
  "luminance": 0.33286
}

Semantic roles & 50–950 ramp

primary
#AB9E2B
secondary
#6E77C4
accent
#55E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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