#ABB120#ABB120

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

Color values

HEX#ABB120
RGBrgb(171, 177, 32)
HSLhsl(62, 69%, 41%)
HSVhsv(62, 82%, 69%)
CMYKcmyk(3.4%, 0%, 81.9%, 30.6%)
CIE-LABlab(69.62, -18.40, 66.00)
CIE-LCHlch(69.62, 68.51, 105.58°)
OKLaboklab(73.18% -0.0582 0.1426)
OKLCHoklch(73.18% 0.154 112.2)
XYZxyz(32.7786, 40.2073, 7.4003)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB120 #2620B1
analogous
#B16E20 #ABB120 #62B120
triadic
#ABB120 #20ABB1 #B120AB
tetradic
#ABB120 #20B16E #2620B1 #B12062
square
#ABB120 #20B16E #2620B1 #B12062
split-complementary
#ABB120 #2062B1 #6E20B1
monochromatic
#47490D #797D17 #ABB120 #D3DA34 #DFE468

Accessibility & contrast

On white

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

On black

9.04
#ABB120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB120
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB120#FFFFFF#000000##000000
##ABB1201.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#B7A697
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abb120;
/* rgb */ color: rgb(171, 177, 32);
/* oklch */ color: oklch(73.2% 0.154 112.2);
Tailwind
colors: {
  custom: {
    50: '#c8c86b',
    500: '#abb120',
    950: '#000000',
  },
}
SCSS
$custom: #abb120;
$custom-light: #c8c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#abb120",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 32
  },
  "hsl": {
    "h": 62.483,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73178,
    "c": 0.15402,
    "h": 112.2
  },
  "luminance": 0.40206
}

Semantic roles & 50–950 ramp

primary
#ABB120
secondary
#6864C9
accent
#3CEC43
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABB120

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

Preview Lab → · Contrast checker → · Palette generator →

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