#ABA25F#ABA25F

#ABA25F is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.089 H 101.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#ABA25F
RGBrgb(171, 162, 95)
HSLhsl(53, 31%, 52%)
HSVhsv(53, 44%, 67%)
CMYKcmyk(0%, 5.3%, 44.4%, 32.9%)
CIE-LABlab(66.00, -6.41, 35.91)
CIE-LCHlch(66.00, 36.48, 100.13°)
OKLaboklab(70.47% -0.0179 0.0868)
OKLCHoklch(70.47% 0.089 101.7)
XYZxyz(31.7812, 35.3258, 15.9687)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA25F #5F68AB
analogous
#AB7C5F #ABA25F #8EAB5F
triadic
#ABA25F #5FABA2 #A25FAB
tetradic
#ABA25F #5FAB7C #5F68AB #AB5F8E
square
#ABA25F #5FAB7C #5F68AB #AB5F8E
split-complementary
#ABA25F #5F8EAB #7C5FAB
monochromatic
#5E5931 #867F47 #ABA25F #C0B987 #D5D1AF

Accessibility & contrast

On white

2.60
#ABA25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#ABA25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA25F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA25F#FFFFFF#000000##000000
##ABA25F1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5A
Deuteranopia (green-blind)
#B0A262
Tritanopia (blue-blind)
#B59A92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba25f;
/* rgb */ color: rgb(171, 162, 95);
/* oklch */ color: oklch(70.5% 0.089 101.7);
Tailwind
colors: {
  custom: {
    50: '#c5bd8d',
    500: '#aba25f',
    950: '#000000',
  },
}
SCSS
$custom: #aba25f;
$custom-light: #c5bd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba25f",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 95
  },
  "hsl": {
    "h": 52.895,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.08859,
    "h": 101.7
  },
  "luminance": 0.35325
}

Semantic roles & 50–950 ramp

primary
#ABA25F
secondary
#A2A6C3
accent
#6DC760
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA25F

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

Preview Lab → · Contrast checker → · Palette generator →

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