#ABA52C#ABA52C

#ABA52C is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.136 H 106.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#ABA52C
RGBrgb(171, 165, 44)
HSLhsl(57, 59%, 42%)
HSVhsv(57, 74%, 67%)
CMYKcmyk(0%, 3.5%, 74.3%, 32.9%)
CIE-LABlab(66.33, -11.79, 59.36)
CIE-LCHlch(66.33, 60.52, 101.23°)
OKLaboklab(70.57% -0.0387 0.1307)
OKLCHoklch(70.57% 0.136 106.5)
XYZxyz(30.7056, 35.7512, 7.6656)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA52C #2C32AB
analogous
#AB652C #ABA52C #72AB2C
triadic
#ABA52C #2CABA5 #A52CAB
tetradic
#ABA52C #2CAB65 #2C32AB #AB2C72
square
#ABA52C #2CAB65 #2C32AB #AB2C72
split-complementary
#ABA52C #2C72AB #652CAB
monochromatic
#4A4713 #7A761F #ABA52C #CFC945 #DCD776

Accessibility & contrast

On white

2.58
#ABA52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#ABA52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA52C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA52C#FFFFFF#000000##000000
##ABA52C1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F14
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba52c;
/* rgb */ color: rgb(171, 165, 44);
/* oklch */ color: oklch(70.6% 0.136 106.5);
Tailwind
colors: {
  custom: {
    50: '#c8bf6e',
    500: '#aba52c',
    950: '#000000',
  },
}
SCSS
$custom: #aba52c;
$custom-light: #c8bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba52c",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 57.165,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70569,
    "c": 0.13628,
    "h": 106.5
  },
  "luminance": 0.3575
}

Semantic roles & 50–950 ramp

primary
#ABA52C
secondary
#6F73C3
accent
#4DE246
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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