#ABA04F#ABA04F

#ABA04F is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.103 H 101.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#ABA04F
RGBrgb(171, 160, 79)
HSLhsl(53, 37%, 49%)
HSVhsv(53, 54%, 67%)
CMYKcmyk(0%, 6.4%, 53.8%, 32.9%)
CIE-LABlab(65.25, -6.87, 43.13)
CIE-LCHlch(65.25, 43.67, 99.05°)
OKLaboklab(69.81% -0.0209 0.1014)
OKLCHoklch(69.81% 0.104 101.7)
XYZxyz(30.7776, 34.3651, 12.4075)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA04F #4F5AAB
analogous
#AB724F #ABA04F #88AB4F
triadic
#ABA04F #4FABA0 #A04FAB
tetradic
#ABA04F #4FAB72 #4F5AAB #AB4F88
square
#ABA04F #4FAB72 #4F5AAB #AB4F88
split-complementary
#ABA04F #4F88AB #724FAB
monochromatic
#575228 #81793C #ABA04F #C0B777 #D4CDA1

Accessibility & contrast

On white

2.67
#ABA04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#ABA04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA04F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA04F#FFFFFF#000000##000000
##ABA04F1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C47
Deuteranopia (green-blind)
#B0A153
Tritanopia (blue-blind)
#B6968E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba04f;
/* rgb */ color: rgb(171, 160, 79);
/* oklch */ color: oklch(69.8% 0.103 101.7);
Tailwind
colors: {
  custom: {
    50: '#c6bb83',
    500: '#aba04f',
    950: '#000000',
  },
}
SCSS
$custom: #aba04f;
$custom-light: #c6bb83;
$custom-dark: #000000;
JSON
{
  "hex": "#aba04f",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 52.826,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69808,
    "c": 0.1035,
    "h": 101.7
  },
  "luminance": 0.34364
}

Semantic roles & 50–950 ramp

primary
#ABA04F
secondary
#959AC1
accent
#69CD5B
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #ABA04F

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

Preview Lab → · Contrast checker → · Palette generator →

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