#ABAA2B#ABAA2B

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

Color values

HEX#ABAA2B
RGBrgb(171, 170, 43)
HSLhsl(60, 60%, 42%)
HSVhsv(60, 75%, 67%)
CMYKcmyk(0%, 0.6%, 74.9%, 32.9%)
CIE-LABlab(67.71, -14.42, 61.01)
CIE-LCHlch(67.71, 62.69, 103.30°)
OKLaboklab(71.67% -0.0462 0.134)
OKLCHoklch(71.67% 0.142 109)
XYZxyz(31.6065, 37.5828, 7.8743)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAA2B #2B2CAB
analogous
#AB6A2B #ABAA2B #6CAB2B
triadic
#ABAA2B #2BABAA #AA2BAB
tetradic
#ABAA2B #2BAB6A #2B2CAB #AB2B6C
square
#ABAA2B #2BAB6A #2B2CAB #AB2B6C
split-complementary
#ABAA2B #2B6CAB #6A2BAB
monochromatic
#494912 #7A791F #ABAA2B #D0CF43 #DCDB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAA2B#FFFFFF#000000##000000
##ABAA2B1.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)
#B8A30E
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B79F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #abaa2b;
/* rgb */ color: rgb(171, 170, 43);
/* oklch */ color: oklch(71.7% 0.142 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c36f',
    500: '#abaa2b',
    950: '#000000',
  },
}
SCSS
$custom: #abaa2b;
$custom-light: #c8c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#abaa2b",
  "rgb": {
    "r": 171,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 59.531,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71671,
    "c": 0.14171,
    "h": 109
  },
  "luminance": 0.37582
}

Semantic roles & 50–950 ramp

primary
#ABAA2B
secondary
#6E6FC4
accent
#46E345
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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