#ABAA2E#ABAA2E

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

Color values

HEX#ABAA2E
RGBrgb(171, 170, 46)
HSLhsl(60, 58%, 43%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0%, 0.6%, 73.1%, 32.9%)
CIE-LABlab(67.73, -14.29, 59.99)
CIE-LCHlch(67.73, 61.67, 103.40°)
OKLaboklab(71.69% -0.0456 0.1324)
OKLCHoklch(71.69% 0.14 109)
XYZxyz(31.6636, 37.6056, 8.1749)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAA2E #2E2FAB
analogous
#AB6B2E #ABAA2E #6DAB2E
triadic
#ABAA2E #2EABAA #AA2EAB
tetradic
#ABAA2E #2EAB6B #2E2FAB #AB2E6D
square
#ABAA2E #2EAB6B #2E2FAB #AB2E6D
split-complementary
#ABAA2E #2E6DAB #6B2EAB
monochromatic
#4B4A14 #7B7A21 #ABAA2E #CECD48 #DBDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAA2E#FFFFFF#000000##000000
##ABAA2E1.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)
#B8A316
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#B79F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #abaa2e;
/* rgb */ color: rgb(171, 170, 46);
/* oklch */ color: oklch(71.7% 0.140 109.0);
Tailwind
colors: {
  custom: {
    50: '#c7c370',
    500: '#abaa2e',
    950: '#000000',
  },
}
SCSS
$custom: #abaa2e;
$custom-light: #c7c370;
$custom-dark: #000000;
JSON
{
  "hex": "#abaa2e",
  "rgb": {
    "r": 171,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 59.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7169,
    "c": 0.13998,
    "h": 109
  },
  "luminance": 0.37605
}

Semantic roles & 50–950 ramp

primary
#ABAA2E
secondary
#7272C3
accent
#48E147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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