#AB9236#AB9236

#AB9236 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.5% C 0.114 H 93.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AB9236
RGBrgb(171, 146, 54)
HSLhsl(47, 52%, 44%)
HSVhsv(47, 68%, 67%)
CMYKcmyk(0%, 14.6%, 68.4%, 32.9%)
CIE-LABlab(61.21, -1.12, 50.34)
CIE-LCHlch(61.21, 50.35, 91.28°)
OKLaboklab(66.53% -0.0074 0.1134)
OKLCHoklch(66.53% 0.114 93.7)
XYZxyz(27.7407, 29.4835, 7.7190)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9236 #364FAB
analogous
#AB5736 #AB9236 #8AAB36
triadic
#AB9236 #36AB92 #9236AB
tetradic
#AB9236 #36AB57 #364FAB #AB368A
square
#AB9236 #36AB57 #364FAB #AB368A
split-complementary
#AB9236 #368AAB #5736AB
monochromatic
#4E4319 #7C6A27 #AB9236 #C9B055 #D8C683

Accessibility & contrast

On white

3.05
#AB9236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AB9236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9236
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9236#FFFFFF#000000##000000
##AB92361.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2A
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#B9877F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab9236;
/* rgb */ color: rgb(171, 146, 54);
/* oklch */ color: oklch(66.5% 0.114 93.7);
Tailwind
colors: {
  custom: {
    50: '#c7b172',
    500: '#ab9236',
    950: '#000000',
  },
}
SCSS
$custom: #ab9236;
$custom-light: #c7b172;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9236",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 54
  },
  "hsl": {
    "h": 47.179,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.11363,
    "h": 93.7
  },
  "luminance": 0.29482
}

Semantic roles & 50–950 ramp

primary
#AB9236
secondary
#7B8AC2
accent
#6BDB4C
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB9236

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

Preview Lab → · Contrast checker → · Palette generator →

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