#AB9E38#AB9E38

#AB9E38 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.1% C 0.122 H 102.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AB9E38
RGBrgb(171, 158, 56)
HSLhsl(53, 51%, 45%)
HSVhsv(53, 67%, 67%)
CMYKcmyk(0%, 7.6%, 67.3%, 32.9%)
CIE-LABlab(64.48, -7.47, 52.88)
CIE-LCHlch(64.48, 53.41, 98.04°)
OKLaboklab(69.13% -0.0253 0.1191)
OKLCHoklch(69.13% 0.122 102)
XYZxyz(29.7365, 33.3984, 8.6208)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E38 #3845AB
analogous
#AB6438 #AB9E38 #7FAB38
triadic
#AB9E38 #38AB9E #9E38AB
tetradic
#AB9E38 #38AB64 #3845AB #AB387F
square
#AB9E38 #38AB64 #3845AB #AB387F
split-complementary
#AB9E38 #387FAB #6438AB
monochromatic
#4F491A #7D7329 #AB9E38 #C8BC58 #D7CE86

Accessibility & contrast

On white

2.73
#AB9E38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AB9E38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E38
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E38#FFFFFF#000000##000000
##AB9E381.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#B89389
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e38;
/* rgb */ color: rgb(171, 158, 56);
/* oklch */ color: oklch(69.1% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#c7ba74',
    500: '#ab9e38',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e38;
$custom-light: #c7ba74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e38",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 56
  },
  "hsl": {
    "h": 53.217,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69126,
    "c": 0.12177,
    "h": 102
  },
  "luminance": 0.33397
}

Semantic roles & 50–950 ramp

primary
#AB9E38
secondary
#7D85C1
accent
#5EDA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9E38

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

Preview Lab → · Contrast checker → · Palette generator →

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