#ABA62D#ABA62D

#ABA62D 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#ABA62D
RGBrgb(171, 166, 45)
HSLhsl(58, 58%, 42%)
HSVhsv(58, 74%, 67%)
CMYKcmyk(0%, 2.9%, 73.7%, 32.9%)
CIE-LABlab(66.61, -12.26, 59.28)
CIE-LCHlch(66.61, 60.53, 101.69°)
OKLaboklab(70.8% -0.04 0.1307)
OKLCHoklch(70.8% 0.137 107)
XYZxyz(30.9057, 36.1209, 7.8262)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA62D #2D32AB
analogous
#AB672D #ABA62D #71AB2D
triadic
#ABA62D #2DABA6 #A62DAB
tetradic
#ABA62D #2DAB67 #2D32AB #AB2D71
square
#ABA62D #2DAB67 #2D32AB #AB2D71
split-complementary
#ABA62D #2D71AB #672DAB
monochromatic
#4A4814 #7B7720 #ABA62D #CEC947 #DBD777

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA62D#FFFFFF#000000##000000
##ABA62D1.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)
#B49F15
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba62d;
/* rgb */ color: rgb(171, 166, 45);
/* oklch */ color: oklch(70.8% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#c8c06f',
    500: '#aba62d',
    950: '#000000',
  },
}
SCSS
$custom: #aba62d;
$custom-light: #c8c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba62d",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 57.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70797,
    "c": 0.13665,
    "h": 107
  },
  "luminance": 0.3612
}

Semantic roles & 50–950 ramp

primary
#ABA62D
secondary
#7174C3
accent
#4CE246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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