#ABA23C#ABA23C

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

Color values

HEX#ABA23C
RGBrgb(171, 162, 60)
HSLhsl(55, 48%, 45%)
HSVhsv(55, 65%, 67%)
CMYKcmyk(0%, 5.3%, 64.9%, 32.9%)
CIE-LABlab(65.61, -9.35, 52.36)
CIE-LCHlch(65.61, 53.18, 100.12°)
OKLaboklab(70.04% -0.0302 0.1186)
OKLCHoklch(70.04% 0.122 104.3)
XYZxyz(30.5317, 34.8260, 9.3879)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA23C #3C45AB
analogous
#AB6A3C #ABA23C #7CAB3C
triadic
#ABA23C #3CABA2 #A23CAB
tetradic
#ABA23C #3CAB6A #3C45AB #AB3C7C
square
#ABA23C #3CAB6A #3C45AB #AB3C7C
split-complementary
#ABA23C #3C7CAB #6A3CAB
monochromatic
#504C1C #7E772C #ABA23C #C6BE5E #D6D08B

Accessibility & contrast

On white

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

On black

7.97
#ABA23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA23C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA23C#FFFFFF#000000##000000
##ABA23C1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba23c;
/* rgb */ color: rgb(171, 162, 60);
/* oklch */ color: oklch(70.0% 0.122 104.3);
Tailwind
colors: {
  custom: {
    50: '#c7bd77',
    500: '#aba23c',
    950: '#000000',
  },
}
SCSS
$custom: #aba23c;
$custom-light: #c7bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#aba23c",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 55.135,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70035,
    "c": 0.12242,
    "h": 104.3
  },
  "luminance": 0.34825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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