#ABA15F#ABA15F

#ABA15F is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.088 H 100.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#ABA15F
RGBrgb(171, 161, 95)
HSLhsl(52, 31%, 52%)
HSVhsv(52, 44%, 67%)
CMYKcmyk(0%, 5.8%, 44.4%, 32.9%)
CIE-LABlab(65.73, -5.88, 35.57)
CIE-LCHlch(65.73, 36.05, 99.39°)
OKLaboklab(70.25% -0.0164 0.086)
OKLCHoklch(70.25% 0.088 100.8)
XYZxyz(31.6057, 34.9749, 15.9102)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA15F #5F69AB
analogous
#AB7B5F #ABA15F #8FAB5F
triadic
#ABA15F #5FABA1 #A15FAB
tetradic
#ABA15F #5FAB7B #5F69AB #AB5F8F
square
#ABA15F #5FAB7B #5F69AB #AB5F8F
split-complementary
#ABA15F #5F8FAB #7B5FAB
monochromatic
#5E5831 #867E47 #ABA15F #C0B987 #D5D0AF

Accessibility & contrast

On white

2.63
#ABA15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#ABA15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA15F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA15F#FFFFFF#000000##000000
##ABA15F1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5A
Deuteranopia (green-blind)
#AFA262
Tritanopia (blue-blind)
#B59991
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba15f;
/* rgb */ color: rgb(171, 161, 95);
/* oklch */ color: oklch(70.3% 0.088 100.8);
Tailwind
colors: {
  custom: {
    50: '#c5bc8d',
    500: '#aba15f',
    950: '#000000',
  },
}
SCSS
$custom: #aba15f;
$custom-light: #c5bc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba15f",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 95
  },
  "hsl": {
    "h": 52.105,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70253,
    "c": 0.08753,
    "h": 100.8
  },
  "luminance": 0.34974
}

Semantic roles & 50–950 ramp

primary
#ABA15F
secondary
#A2A7C3
accent
#6EC760
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA15F

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

Preview Lab → · Contrast checker → · Palette generator →

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