#AB9138#AB9138

#AB9138 is a light, moderate yellow. Relative luminance 0.292; OKLCH L 66.3% C 0.111 H 92.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AB9138
RGBrgb(171, 145, 56)
HSLhsl(46, 51%, 45%)
HSVhsv(46, 67%, 67%)
CMYKcmyk(0%, 15.2%, 67.3%, 32.9%)
CIE-LABlab(60.95, -0.46, 49.19)
CIE-LCHlch(60.95, 49.19, 90.53°)
OKLaboklab(66.33% -0.0052 0.1113)
OKLCHoklch(66.33% 0.111 92.7)
XYZxyz(27.6352, 29.1958, 7.9204)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9138 #3852AB
analogous
#AB5838 #AB9138 #8CAB38
triadic
#AB9138 #38AB91 #9138AB
tetradic
#AB9138 #38AB58 #3852AB #AB388C
square
#AB9138 #38AB58 #3852AB #AB388C
split-complementary
#AB9138 #388CAB #5838AB
monochromatic
#4F431A #7D6A29 #AB9138 #C8AF58 #D7C586

Accessibility & contrast

On white

3.07
#AB9138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AB9138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9138
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9138#FFFFFF#000000##000000
##AB91381.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F2D
Deuteranopia (green-blind)
#A7963C
Tritanopia (blue-blind)
#B9867E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9138;
/* rgb */ color: rgb(171, 145, 56);
/* oklch */ color: oklch(66.3% 0.111 92.7);
Tailwind
colors: {
  custom: {
    50: '#c7b073',
    500: '#ab9138',
    950: '#000000',
  },
}
SCSS
$custom: #ab9138;
$custom-light: #c7b073;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9138",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 56
  },
  "hsl": {
    "h": 46.435,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66331,
    "c": 0.11142,
    "h": 92.7
  },
  "luminance": 0.29194
}

Semantic roles & 50–950 ramp

primary
#AB9138
secondary
#7D8DC1
accent
#6DDA4E
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#131008
muted
#827F7B

Preview Lab

Preview with #AB9138

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

Preview Lab → · Contrast checker → · Palette generator →

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