#ABA52E#ABA52E

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

Color values

HEX#ABA52E
RGBrgb(171, 165, 46)
HSLhsl(57, 58%, 43%)
HSVhsv(57, 73%, 67%)
CMYKcmyk(0%, 3.5%, 73.1%, 32.9%)
CIE-LABlab(66.34, -11.69, 58.66)
CIE-LCHlch(66.34, 59.82, 101.27°)
OKLaboklab(70.58% -0.0383 0.1296)
OKLCHoklch(70.58% 0.135 106.5)
XYZxyz(30.7441, 35.7666, 7.8684)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA52E #2E34AB
analogous
#AB662E #ABA52E #72AB2E
triadic
#ABA52E #2EABA5 #A52EAB
tetradic
#ABA52E #2EAB66 #2E34AB #AB2E72
square
#ABA52E #2EAB66 #2E34AB #AB2E72
split-complementary
#ABA52E #2E72AB #662EAB
monochromatic
#4B4814 #7B7621 #ABA52E #CEC748 #DBD679

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA52E#FFFFFF#000000##000000
##ABA52E1.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)
#B39F18
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba52e;
/* rgb */ color: rgb(171, 165, 46);
/* oklch */ color: oklch(70.6% 0.135 106.5);
Tailwind
colors: {
  custom: {
    50: '#c7bf6f',
    500: '#aba52e',
    950: '#000000',
  },
}
SCSS
$custom: #aba52e;
$custom-light: #c7bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba52e",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 57.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70583,
    "c": 0.13509,
    "h": 106.5
  },
  "luminance": 0.35765
}

Semantic roles & 50–950 ramp

primary
#ABA52E
secondary
#7276C3
accent
#4EE147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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