#ABA25B#ABA25B

#ABA25B is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.093 H 102.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#ABA25B
RGBrgb(171, 162, 91)
HSLhsl(53, 32%, 51%)
HSVhsv(53, 47%, 67%)
CMYKcmyk(0%, 5.3%, 46.8%, 32.9%)
CIE-LABlab(65.95, -6.82, 37.91)
CIE-LCHlch(65.95, 38.52, 100.20°)
OKLaboklab(70.41% -0.0195 0.091)
OKLCHoklch(70.41% 0.093 102.1)
XYZxyz(31.6040, 35.2549, 15.0356)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA25B #5B64AB
analogous
#AB7A5B #ABA25B #8CAB5B
triadic
#ABA25B #5BABA2 #A25BAB
tetradic
#ABA25B #5BAB7A #5B64AB #AB5B8C
square
#ABA25B #5BAB7A #5B64AB #AB5B8C
split-complementary
#ABA25B #5B8CAB #7A5BAB
monochromatic
#5C572F #857E44 #ABA25B #C0B983 #D4D0AC

Accessibility & contrast

On white

2.61
#ABA25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#ABA25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA25B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA25B#FFFFFF#000000##000000
##ABA25B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E55
Deuteranopia (green-blind)
#B0A25E
Tritanopia (blue-blind)
#B59991
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba25b;
/* rgb */ color: rgb(171, 162, 91);
/* oklch */ color: oklch(70.4% 0.093 102.1);
Tailwind
colors: {
  custom: {
    50: '#c5bd8b',
    500: '#aba25b',
    950: '#000000',
  },
}
SCSS
$custom: #aba25b;
$custom-light: #c5bd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba25b",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 91
  },
  "hsl": {
    "h": 53.25,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70407,
    "c": 0.09302,
    "h": 102.1
  },
  "luminance": 0.35254
}

Semantic roles & 50–950 ramp

primary
#ABA25B
secondary
#9FA3C3
accent
#6BC85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA25B

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

Preview Lab → · Contrast checker → · Palette generator →

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