#ABB12B#ABB12B

#ABB12B 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.06:1 contrast (WCAG AA passes).

Color values

HEX#ABB12B
RGBrgb(171, 177, 43)
HSLhsl(63, 61%, 43%)
HSVhsv(63, 76%, 69%)
CMYKcmyk(3.4%, 0%, 75.7%, 30.6%)
CIE-LABlab(69.67, -17.99, 62.82)
CIE-LCHlch(69.67, 65.35, 105.98°)
OKLaboklab(73.23% -0.0562 0.1378)
OKLCHoklch(73.23% 0.149 112.2)
XYZxyz(32.9539, 40.2774, 8.3234)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB12B #312BB1
analogous
#B1742B #ABB12B #68B12B
triadic
#ABB12B #2BABB1 #B12BAB
tetradic
#ABB12B #2BB174 #312BB1 #B12B68
square
#ABB12B #2BB174 #312BB1 #B12B68
split-complementary
#ABB12B #2B68B1 #742BB1
monochromatic
#4C4F13 #7B801F #ABB12B #CCD247 #DADE78

Accessibility & contrast

On white

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

On black

9.06
#ABB12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB12B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB12B#FFFFFF#000000##000000
##ABB12B1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb12b;
/* rgb */ color: rgb(171, 177, 43);
/* oklch */ color: oklch(73.2% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#c8c86f',
    500: '#abb12b',
    950: '#000000',
  },
}
SCSS
$custom: #abb12b;
$custom-light: #c8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb12b",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 43
  },
  "hsl": {
    "h": 62.687,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73234,
    "c": 0.14882,
    "h": 112.2
  },
  "luminance": 0.40277
}

Semantic roles & 50–950 ramp

primary
#ABB12B
secondary
#7572C6
accent
#44E44B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB12B

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

Preview Lab → · Contrast checker → · Palette generator →

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