#ABA52A#ABA52A

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

Color values

HEX#ABA52A
RGBrgb(171, 165, 42)
HSLhsl(57, 61%, 42%)
HSVhsv(57, 75%, 67%)
CMYKcmyk(0%, 3.5%, 75.4%, 32.9%)
CIE-LABlab(66.32, -11.88, 60.04)
CIE-LCHlch(66.32, 61.21, 101.19°)
OKLaboklab(70.56% -0.0392 0.1317)
OKLCHoklch(70.56% 0.137 106.6)
XYZxyz(30.6689, 35.7365, 7.4724)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA52A #2A30AB
analogous
#AB652A #ABA52A #71AB2A
triadic
#ABA52A #2AABA5 #A52AAB
tetradic
#ABA52A #2AAB65 #2A30AB #AB2A71
square
#ABA52A #2AAB65 #2A30AB #AB2A71
split-complementary
#ABA52A #2A71AB #652AAB
monochromatic
#494612 #7A761E #ABA52A #D1CA42 #DDD873

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA52A#FFFFFF#000000##000000
##ABA52A1.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)
#B39F0F
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba52a;
/* rgb */ color: rgb(171, 165, 42);
/* oklch */ color: oklch(70.6% 0.137 106.6);
Tailwind
colors: {
  custom: {
    50: '#c8bf6d',
    500: '#aba52a',
    950: '#000000',
  },
}
SCSS
$custom: #aba52a;
$custom-light: #c8bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba52a",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 57.209,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70557,
    "c": 0.13743,
    "h": 106.6
  },
  "luminance": 0.35735
}

Semantic roles & 50–950 ramp

primary
#ABA52A
secondary
#6D71C4
accent
#4CE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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