#ABA023#ABA023

#ABA023 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.137 H 104.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#ABA023
RGBrgb(171, 160, 35)
HSLhsl(55, 66%, 40%)
HSVhsv(55, 80%, 67%)
CMYKcmyk(0%, 6.4%, 79.5%, 32.9%)
CIE-LABlab(64.90, -9.53, 61.02)
CIE-LCHlch(64.90, 61.76, 98.88°)
OKLaboklab(69.42% -0.0332 0.1325)
OKLCHoklch(69.42% 0.137 104.1)
XYZxyz(29.6701, 33.9221, 6.5746)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA023 #232EAB
analogous
#AB5C23 #ABA023 #72AB23
triadic
#ABA023 #23ABA0 #A023AB
tetradic
#ABA023 #23AB5C #232EAB #AB2372
square
#ABA023 #23AB5C #232EAB #AB2372
split-complementary
#ABA023 #2372AB #5C23AB
monochromatic
#45410E #787019 #ABA023 #D6C935 #E0D668

Accessibility & contrast

On white

2.70
#ABA023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#ABA023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA023
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA023#FFFFFF#000000##000000
##ABA0231.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#B89489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aba023;
/* rgb */ color: rgb(171, 160, 35);
/* oklch */ color: oklch(69.4% 0.137 104.1);
Tailwind
colors: {
  custom: {
    50: '#c8bb6a',
    500: '#aba023',
    950: '#000000',
  },
}
SCSS
$custom: #aba023;
$custom-light: #c8bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba023",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 55.147,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.13657,
    "h": 104.1
  },
  "luminance": 0.33921
}

Semantic roles & 50–950 ramp

primary
#ABA023
secondary
#646CC6
accent
#4DE93F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #ABA023

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

Preview Lab → · Contrast checker → · Palette generator →

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