#ABA55F#ABA55F

#ABA55F is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.092 H 104.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#ABA55F
RGBrgb(171, 165, 95)
HSLhsl(55, 31%, 52%)
HSVhsv(55, 44%, 67%)
CMYKcmyk(0%, 3.5%, 44.4%, 32.9%)
CIE-LABlab(66.82, -8.01, 36.93)
CIE-LCHlch(66.82, 37.79, 102.24°)
OKLaboklab(71.12% -0.0225 0.0891)
OKLCHoklch(71.12% 0.092 104.2)
XYZxyz(32.3160, 36.3953, 16.1469)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA55F #5F65AB
analogous
#AB7F5F #ABA55F #8BAB5F
triadic
#ABA55F #5FABA5 #A55FAB
tetradic
#ABA55F #5FAB7F #5F65AB #AB5F8B
square
#ABA55F #5FAB7F #5F65AB #AB5F8B
split-complementary
#ABA55F #5F8BAB #7F5FAB
monochromatic
#5E5B31 #868147 #ABA55F #C0BC87 #D5D2AF

Accessibility & contrast

On white

2.54
#ABA55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#ABA55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA55F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA55F#FFFFFF#000000##000000
##ABA55F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A059
Deuteranopia (green-blind)
#B2A462
Tritanopia (blue-blind)
#B59D94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba55f;
/* rgb */ color: rgb(171, 165, 95);
/* oklch */ color: oklch(71.1% 0.092 104.2);
Tailwind
colors: {
  custom: {
    50: '#c5bf8e',
    500: '#aba55f',
    950: '#000000',
  },
}
SCSS
$custom: #aba55f;
$custom-light: #c5bf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba55f",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 95
  },
  "hsl": {
    "h": 55.263,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71119,
    "c": 0.09185,
    "h": 104.2
  },
  "luminance": 0.36394
}

Semantic roles & 50–950 ramp

primary
#ABA55F
secondary
#A2A5C3
accent
#69C760
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA55F

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

Preview Lab → · Contrast checker → · Palette generator →

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