#ABA35B#ABA35B

#ABA35B is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.094 H 102.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#ABA35B
RGBrgb(171, 163, 91)
HSLhsl(54, 32%, 51%)
HSVhsv(54, 47%, 67%)
CMYKcmyk(0%, 4.7%, 46.8%, 32.9%)
CIE-LABlab(66.22, -7.36, 38.25)
CIE-LCHlch(66.22, 38.95, 100.89°)
OKLaboklab(70.62% -0.021 0.0917)
OKLCHoklch(70.62% 0.094 102.9)
XYZxyz(31.7809, 35.6086, 15.0945)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA35B #5B63AB
analogous
#AB7B5B #ABA35B #8BAB5B
triadic
#ABA35B #5BABA3 #A35BAB
tetradic
#ABA35B #5BAB7B #5B63AB #AB5B8B
square
#ABA35B #5BAB7B #5B63AB #AB5B8B
split-complementary
#ABA35B #5B8BAB #7B5BAB
monochromatic
#5C582F #857E44 #ABA35B #C0BA83 #D4D0AC

Accessibility & contrast

On white

2.59
#ABA35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#ABA35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA35B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA35B#FFFFFF#000000##000000
##ABA35B1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F55
Deuteranopia (green-blind)
#B1A35E
Tritanopia (blue-blind)
#B59A92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba35b;
/* rgb */ color: rgb(171, 163, 91);
/* oklch */ color: oklch(70.6% 0.094 102.9);
Tailwind
colors: {
  custom: {
    50: '#c5be8b',
    500: '#aba35b',
    950: '#000000',
  },
}
SCSS
$custom: #aba35b;
$custom-light: #c5be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba35b",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 91
  },
  "hsl": {
    "h": 54,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70624,
    "c": 0.09409,
    "h": 102.9
  },
  "luminance": 0.35608
}

Semantic roles & 50–950 ramp

primary
#ABA35B
secondary
#9FA3C3
accent
#6AC85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA35B

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

Preview Lab → · Contrast checker → · Palette generator →

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