#AB9835#AB9835

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

Color values

HEX#AB9835
RGBrgb(171, 152, 53)
HSLhsl(50, 53%, 44%)
HSVhsv(50, 69%, 67%)
CMYKcmyk(0%, 11.1%, 69%, 32.9%)
CIE-LABlab(62.82, -4.43, 52.44)
CIE-LCHlch(62.82, 52.62, 94.83°)
OKLaboklab(67.8% -0.017 0.1177)
OKLCHoklch(67.8% 0.119 98.2)
XYZxyz(28.6668, 31.3728, 7.9131)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9835 #3548AB
analogous
#AB5D35 #AB9835 #83AB35
triadic
#AB9835 #35AB98 #9835AB
tetradic
#AB9835 #35AB5D #3548AB #AB3583
square
#AB9835 #35AB5D #3548AB #AB3583
split-complementary
#AB9835 #3583AB #5D35AB
monochromatic
#4E4518 #7C6E27 #AB9835 #CAB753 #D8CA82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9835#FFFFFF#000000##000000
##AB98351.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)
#A79428
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#B88D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9835;
/* rgb */ color: rgb(171, 152, 53);
/* oklch */ color: oklch(67.8% 0.119 98.2);
Tailwind
colors: {
  custom: {
    50: '#c7b672',
    500: '#ab9835',
    950: '#000000',
  },
}
SCSS
$custom: #ab9835;
$custom-light: #c7b672;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9835",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 53
  },
  "hsl": {
    "h": 50.339,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.678,
    "c": 0.11887,
    "h": 98.2
  },
  "luminance": 0.31371
}

Semantic roles & 50–950 ramp

primary
#AB9835
secondary
#7A86C2
accent
#63DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9835

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

Preview Lab → · Contrast checker → · Palette generator →

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