#ABA23A#ABA23A

#ABA23A is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.124 H 104.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#ABA23A
RGBrgb(171, 162, 58)
HSLhsl(55, 49%, 45%)
HSVhsv(55, 66%, 67%)
CMYKcmyk(0%, 5.3%, 66.1%, 32.9%)
CIE-LABlab(65.60, -9.47, 53.19)
CIE-LCHlch(65.60, 54.03, 100.10°)
OKLaboklab(70.02% -0.0308 0.1201)
OKLCHoklch(70.02% 0.124 104.4)
XYZxyz(30.4798, 34.8052, 9.1147)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA23A #3A43AB
analogous
#AB693A #ABA23A #7CAB3A
triadic
#ABA23A #3AABA2 #A23AAB
tetradic
#ABA23A #3AAB69 #3A43AB #AB3A7C
square
#ABA23A #3AAB69 #3A43AB #AB3A7C
split-complementary
#ABA23A #3A7CAB #693AAB
monochromatic
#504B1B #7D772A #ABA23A #C7BF5B #D7D189

Accessibility & contrast

On white

2.64
#ABA23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#ABA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA23A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA23A#FFFFFF#000000##000000
##ABA23A1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2C
Deuteranopia (green-blind)
#B3A240
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba23a;
/* rgb */ color: rgb(171, 162, 58);
/* oklch */ color: oklch(70.0% 0.124 104.4);
Tailwind
colors: {
  custom: {
    50: '#c7bd76',
    500: '#aba23a',
    950: '#000000',
  },
}
SCSS
$custom: #aba23a;
$custom-light: #c7bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#aba23a",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 55.221,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70017,
    "c": 0.12397,
    "h": 104.4
  },
  "luminance": 0.34804
}

Semantic roles & 50–950 ramp

primary
#ABA23A
secondary
#8085C1
accent
#5AD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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