#ABB12A#ABB12A

#ABB12A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.149 H 112.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#ABB12A
RGBrgb(171, 177, 42)
HSLhsl(63, 62%, 43%)
HSVhsv(63, 76%, 69%)
CMYKcmyk(3.4%, 0%, 76.3%, 30.6%)
CIE-LABlab(69.66, -18.04, 63.14)
CIE-LCHlch(69.66, 65.66, 105.94°)
OKLaboklab(73.23% -0.0564 0.1383)
OKLCHoklch(73.23% 0.149 112.2)
XYZxyz(32.9357, 40.2702, 8.2280)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB12A #302AB1
analogous
#B1742A #ABB12A #67B12A
triadic
#ABB12A #2AABB1 #B12AAB
tetradic
#ABB12A #2AB174 #302AB1 #B12A67
square
#ABB12A #2AB174 #302AB1 #B12A67
split-complementary
#ABB12A #2A67B1 #742AB1
monochromatic
#4B4E13 #7B801E #ABB12A #CDD345 #DADF77

Accessibility & contrast

On white

2.32
#ABB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#ABB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB12A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB12A#FFFFFF#000000##000000
##ABB12A1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA905
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#B7A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abb12a;
/* rgb */ color: rgb(171, 177, 42);
/* oklch */ color: oklch(73.2% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#c8c86f',
    500: '#abb12a',
    950: '#000000',
  },
}
SCSS
$custom: #abb12a;
$custom-light: #c8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb12a",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 62.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.14935,
    "h": 112.2
  },
  "luminance": 0.40269
}

Semantic roles & 50–950 ramp

primary
#ABB12A
secondary
#7470C6
accent
#43E54A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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