#ABAA2F#ABAA2F

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

Color values

HEX#ABAA2F
RGBrgb(171, 170, 47)
HSLhsl(60, 57%, 43%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0%, 0.6%, 72.5%, 32.9%)
CIE-LABlab(67.73, -14.24, 59.64)
CIE-LCHlch(67.73, 61.31, 103.43°)
OKLaboklab(71.7% -0.0453 0.1318)
OKLCHoklch(71.7% 0.139 109)
XYZxyz(31.6836, 37.6136, 8.2799)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAA2F #2F30AB
analogous
#AB6C2F #ABAA2F #6EAB2F
triadic
#ABAA2F #2FABAA #AA2FAB
tetradic
#ABAA2F #2FAB6C #2F30AB #AB2F6E
square
#ABAA2F #2FAB6C #2F30AB #AB2F6E
split-complementary
#ABAA2F #2F6EAB #6C2FAB
monochromatic
#4B4B15 #7B7A22 #ABAA2F #CDCC4A #DADA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #abaa2f;
/* rgb */ color: rgb(171, 170, 47);
/* oklch */ color: oklch(71.7% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#c7c370',
    500: '#abaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #abaa2f;
$custom-light: #c7c370;
$custom-dark: #000000;
JSON
{
  "hex": "#abaa2f",
  "rgb": {
    "r": 171,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 59.516,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71696,
    "c": 0.13937,
    "h": 109
  },
  "luminance": 0.37613
}

Semantic roles & 50–950 ramp

primary
#ABAA2F
secondary
#7374C3
accent
#49E048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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