#ABA23B#ABA23B

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

Color values

HEX#ABA23B
RGBrgb(171, 162, 59)
HSLhsl(55, 49%, 45%)
HSVhsv(55, 65%, 67%)
CMYKcmyk(0%, 5.3%, 65.5%, 32.9%)
CIE-LABlab(65.60, -9.41, 52.78)
CIE-LCHlch(65.60, 53.61, 100.11°)
OKLaboklab(70.03% -0.0305 0.1194)
OKLCHoklch(70.03% 0.123 104.3)
XYZxyz(30.5055, 34.8155, 9.2500)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA23B #3B44AB
analogous
#AB6A3B #ABA23B #7CAB3B
triadic
#ABA23B #3BABA2 #A23BAB
tetradic
#ABA23B #3BAB6A #3B44AB #AB3B7C
square
#ABA23B #3BAB6A #3B44AB #AB3B7C
split-complementary
#ABA23B #3B7CAB #6A3BAB
monochromatic
#504C1C #7D772B #ABA23B #C7BE5C #D7D08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA23B#FFFFFF#000000##000000
##ABA23B1.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)
#B09D2E
Deuteranopia (green-blind)
#B3A241
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba23b;
/* rgb */ color: rgb(171, 162, 59);
/* oklch */ color: oklch(70.0% 0.123 104.3);
Tailwind
colors: {
  custom: {
    50: '#c7bd76',
    500: '#aba23b',
    950: '#000000',
  },
}
SCSS
$custom: #aba23b;
$custom-light: #c7bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#aba23b",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 55.179,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70026,
    "c": 0.1232,
    "h": 104.3
  },
  "luminance": 0.34814
}

Semantic roles & 50–950 ramp

primary
#ABA23B
secondary
#8186C1
accent
#5BD850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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