#AB9834#AB9834

#AB9834 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.120 H 98.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AB9834
RGBrgb(171, 152, 52)
HSLhsl(50, 53%, 44%)
HSVhsv(50, 70%, 67%)
CMYKcmyk(0%, 11.1%, 69.6%, 32.9%)
CIE-LABlab(62.81, -4.49, 52.85)
CIE-LCHlch(62.81, 53.04, 94.86°)
OKLaboklab(67.79% -0.0173 0.1183)
OKLCHoklch(67.79% 0.12 98.3)
XYZxyz(28.6440, 31.3637, 7.7932)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9834 #3447AB
analogous
#AB5C34 #AB9834 #82AB34
triadic
#AB9834 #34AB98 #9834AB
tetradic
#AB9834 #34AB5C #3447AB #AB3482
square
#AB9834 #34AB5C #3447AB #AB3482
split-complementary
#AB9834 #3482AB #5C34AB
monochromatic
#4D4517 #7C6E26 #AB9834 #CAB752 #D9CB81

Accessibility & contrast

On white

2.89
#AB9834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AB9834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9834
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9834#FFFFFF#000000##000000
##AB98341.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79426
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#B88D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9834;
/* rgb */ color: rgb(171, 152, 52);
/* oklch */ color: oklch(67.8% 0.120 98.3);
Tailwind
colors: {
  custom: {
    50: '#c7b671',
    500: '#ab9834',
    950: '#000000',
  },
}
SCSS
$custom: #ab9834;
$custom-light: #c7b671;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9834",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 52
  },
  "hsl": {
    "h": 50.42,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67792,
    "c": 0.11959,
    "h": 98.3
  },
  "luminance": 0.31362
}

Semantic roles & 50–950 ramp

primary
#AB9834
secondary
#7985C2
accent
#62DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9834

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

Preview Lab → · Contrast checker → · Palette generator →

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