#ABA24F#ABA24F

#ABA24F is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.106 H 103.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#ABA24F
RGBrgb(171, 162, 79)
HSLhsl(54, 37%, 49%)
HSVhsv(54, 54%, 67%)
CMYKcmyk(0%, 5.3%, 53.8%, 32.9%)
CIE-LABlab(65.80, -7.94, 43.77)
CIE-LCHlch(65.80, 44.48, 100.28°)
OKLaboklab(70.24% -0.024 0.1028)
OKLCHoklch(70.24% 0.106 103.1)
XYZxyz(31.1271, 35.0641, 12.5240)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA24F #4F58AB
analogous
#AB744F #ABA24F #86AB4F
triadic
#ABA24F #4FABA2 #A24FAB
tetradic
#ABA24F #4FAB74 #4F58AB #AB4F86
square
#ABA24F #4FAB74 #4F58AB #AB4F86
split-complementary
#ABA24F #4F86AB #744FAB
monochromatic
#575328 #817A3C #ABA24F #C0B977 #D4CFA1

Accessibility & contrast

On white

2.62
#ABA24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#ABA24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA24F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA24F#FFFFFF#000000##000000
##ABA24F1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D47
Deuteranopia (green-blind)
#B2A253
Tritanopia (blue-blind)
#B6988F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba24f;
/* rgb */ color: rgb(171, 162, 79);
/* oklch */ color: oklch(70.2% 0.106 103.1);
Tailwind
colors: {
  custom: {
    50: '#c6bd83',
    500: '#aba24f',
    950: '#000000',
  },
}
SCSS
$custom: #aba24f;
$custom-light: #c6bd83;
$custom-dark: #000000;
JSON
{
  "hex": "#aba24f",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 79
  },
  "hsl": {
    "h": 54.13,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70242,
    "c": 0.10552,
    "h": 103.1
  },
  "luminance": 0.35063
}

Semantic roles & 50–950 ramp

primary
#ABA24F
secondary
#9599C1
accent
#66CD5B
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA24F

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

Preview Lab → · Contrast checker → · Palette generator →

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