#ABAA2D#ABAA2D

#ABAA2D is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.7% C 0.141 H 109.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#ABAA2D
RGBrgb(171, 170, 45)
HSLhsl(60, 58%, 42%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0%, 0.6%, 73.7%, 32.9%)
CIE-LABlab(67.72, -14.33, 60.33)
CIE-LCHlch(67.72, 62.01, 103.37°)
OKLaboklab(71.68% -0.0458 0.1329)
OKLCHoklch(71.68% 0.141 109)
XYZxyz(31.6441, 37.5978, 8.0723)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAA2D #2D2EAB
analogous
#AB6B2D #ABAA2D #6DAB2D
triadic
#ABAA2D #2DABAA #AA2DAB
tetradic
#ABAA2D #2DAB6B #2D2EAB #AB2D6D
square
#ABAA2D #2DAB6B #2D2EAB #AB2D6D
split-complementary
#ABAA2D #2D6DAB #6B2DAB
monochromatic
#4A4A14 #7B7A20 #ABAA2D #CECD47 #DBDA77

Accessibility & contrast

On white

2.46
#ABAA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#ABAA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAA2D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAA2D#FFFFFF#000000##000000
##ABAA2D1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A313
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#B79F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #abaa2d;
/* rgb */ color: rgb(171, 170, 45);
/* oklch */ color: oklch(71.7% 0.141 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c36f',
    500: '#abaa2d',
    950: '#000000',
  },
}
SCSS
$custom: #abaa2d;
$custom-light: #c8c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#abaa2d",
  "rgb": {
    "r": 171,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 59.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71683,
    "c": 0.14057,
    "h": 109
  },
  "luminance": 0.37597
}

Semantic roles & 50–950 ramp

primary
#ABAA2D
secondary
#7171C3
accent
#47E246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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