#ABAA2C#ABAA2C

#ABAA2C 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#ABAA2C
RGBrgb(171, 170, 44)
HSLhsl(60, 59%, 42%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0%, 0.6%, 74.3%, 32.9%)
CIE-LABlab(67.72, -14.38, 60.67)
CIE-LCHlch(67.72, 62.35, 103.33°)
OKLaboklab(71.68% -0.046 0.1334)
OKLCHoklch(71.68% 0.141 109)
XYZxyz(31.6251, 37.5902, 7.9721)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAA2C #2C2DAB
analogous
#AB6B2C #ABAA2C #6CAB2C
triadic
#ABAA2C #2CABAA #AA2CAB
tetradic
#ABAA2C #2CAB6B #2C2DAB #AB2C6C
square
#ABAA2C #2CAB6B #2C2DAB #AB2C6C
split-complementary
#ABAA2C #2C6CAB #6B2CAB
monochromatic
#4A4913 #7A7A1F #ABAA2C #CFCE45 #DCDB76

Accessibility & contrast

On white

2.47
#ABAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAA2C#FFFFFF#000000##000000
##ABAA2C1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abaa2c;
/* rgb */ color: rgb(171, 170, 44);
/* oklch */ color: oklch(71.7% 0.141 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c36f',
    500: '#abaa2c',
    950: '#000000',
  },
}
SCSS
$custom: #abaa2c;
$custom-light: #c8c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#abaa2c",
  "rgb": {
    "r": 171,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 59.528,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71677,
    "c": 0.14114,
    "h": 109
  },
  "luminance": 0.37589
}

Semantic roles & 50–950 ramp

primary
#ABAA2C
secondary
#6F70C3
accent
#47E246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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