#ABA45F#ABA45F

#ABA45F is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.091 H 103.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#ABA45F
RGBrgb(171, 164, 95)
HSLhsl(54, 31%, 52%)
HSVhsv(54, 44%, 67%)
CMYKcmyk(0%, 4.1%, 44.4%, 32.9%)
CIE-LABlab(66.55, -7.48, 36.59)
CIE-LCHlch(66.55, 37.35, 101.55°)
OKLaboklab(70.9% -0.021 0.0883)
OKLCHoklch(70.9% 0.091 103.4)
XYZxyz(32.1363, 36.0360, 16.0871)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA45F #5F66AB
analogous
#AB7E5F #ABA45F #8CAB5F
triadic
#ABA45F #5FABA4 #A45FAB
tetradic
#ABA45F #5FAB7E #5F66AB #AB5F8C
square
#ABA45F #5FAB7E #5F66AB #AB5F8C
split-complementary
#ABA45F #5F8CAB #7E5FAB
monochromatic
#5E5A31 #868047 #ABA45F #C0BB87 #D5D2AF

Accessibility & contrast

On white

2.56
#ABA45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#ABA45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA45F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA45F#FFFFFF#000000##000000
##ABA45F1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA059
Deuteranopia (green-blind)
#B2A462
Tritanopia (blue-blind)
#B59C93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba45f;
/* rgb */ color: rgb(171, 164, 95);
/* oklch */ color: oklch(70.9% 0.091 103.4);
Tailwind
colors: {
  custom: {
    50: '#c5be8e',
    500: '#aba45f',
    950: '#000000',
  },
}
SCSS
$custom: #aba45f;
$custom-light: #c5be8e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba45f",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 54.474,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70902,
    "c": 0.09075,
    "h": 103.4
  },
  "luminance": 0.36035
}

Semantic roles & 50–950 ramp

primary
#ABA45F
secondary
#A2A5C3
accent
#6AC760
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA45F

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

Preview Lab → · Contrast checker → · Palette generator →

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