#ABA62C#ABA62C

#ABA62C is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.137 H 107.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#ABA62C
RGBrgb(171, 166, 44)
HSLhsl(58, 59%, 42%)
HSVhsv(58, 74%, 67%)
CMYKcmyk(0%, 2.9%, 74.3%, 32.9%)
CIE-LABlab(66.61, -12.31, 59.63)
CIE-LCHlch(66.61, 60.88, 101.66°)
OKLaboklab(70.79% -0.0402 0.1312)
OKLCHoklch(70.79% 0.137 107)
XYZxyz(30.8867, 36.1133, 7.7260)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA62C #2C31AB
analogous
#AB672C #ABA62C #70AB2C
triadic
#ABA62C #2CABA6 #A62CAB
tetradic
#ABA62C #2CAB67 #2C31AB #AB2C70
square
#ABA62C #2CAB67 #2C31AB #AB2C70
split-complementary
#ABA62C #2C70AB #672CAB
monochromatic
#4A4713 #7A771F #ABA62C #CFCA45 #DCD876

Accessibility & contrast

On white

2.55
#ABA62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#ABA62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA62C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA62C#FFFFFF#000000##000000
##ABA62C1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F13
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba62c;
/* rgb */ color: rgb(171, 166, 44);
/* oklch */ color: oklch(70.8% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#c8c06f',
    500: '#aba62c',
    950: '#000000',
  },
}
SCSS
$custom: #aba62c;
$custom-light: #c8c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba62c",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 57.638,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.13723,
    "h": 107
  },
  "luminance": 0.36112
}

Semantic roles & 50–950 ramp

primary
#ABA62C
secondary
#6F73C3
accent
#4CE246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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