#ABB02B#ABB02B

#ABB02B is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.148 H 111.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#ABB02B
RGBrgb(171, 176, 43)
HSLhsl(62, 61%, 43%)
HSVhsv(62, 76%, 69%)
CMYKcmyk(2.8%, 0%, 75.6%, 31%)
CIE-LABlab(69.39, -17.49, 62.56)
CIE-LCHlch(69.39, 64.96, 105.62°)
OKLaboklab(73.01% -0.0548 0.1373)
OKLCHoklch(73.01% 0.148 111.7)
XYZxyz(32.7571, 39.8838, 8.2578)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB02B #302BB0
analogous
#B0732B #ABB02B #68B02B
triadic
#ABB02B #2BABB0 #B02BAB
tetradic
#ABB02B #2BB073 #302BB0 #B02B68
square
#ABB02B #2BB073 #302BB0 #B02B68
split-complementary
#ABB02B #2B68B0 #732BB0
monochromatic
#4B4E13 #7B7F1F #ABB02B #CDD246 #DADE78

Accessibility & contrast

On white

2.34
#ABB02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#ABB02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB02B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB02B#FFFFFF#000000##000000
##ABB02B1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80A
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#B7A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abb02b;
/* rgb */ color: rgb(171, 176, 43);
/* oklch */ color: oklch(73.0% 0.148 111.7);
Tailwind
colors: {
  custom: {
    50: '#c8c76f',
    500: '#abb02b',
    950: '#000000',
  },
}
SCSS
$custom: #abb02b;
$custom-light: #c8c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb02b",
  "rgb": {
    "r": 171,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 62.256,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.14778,
    "h": 111.7
  },
  "luminance": 0.39883
}

Semantic roles & 50–950 ramp

primary
#ABB02B
secondary
#7471C6
accent
#44E44A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB02B

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

Preview Lab → · Contrast checker → · Palette generator →

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