#ABB42E#ABB42E

#ABB42E is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.150 H 113.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#ABB42E
RGBrgb(171, 180, 46)
HSLhsl(64, 59%, 44%)
HSVhsv(64, 74%, 71%)
CMYKcmyk(5%, 0%, 74.4%, 29.4%)
CIE-LABlab(70.52, -19.37, 62.63)
CIE-LCHlch(70.52, 65.56, 107.19°)
OKLaboklab(73.93% -0.0597 0.1379)
OKLCHoklch(73.93% 0.15 113.4)
XYZxyz(33.6100, 41.4984, 8.8237)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB42E #372EB4
analogous
#B47A2E #ABB42E #68B42E
triadic
#ABB42E #2EABB4 #B42EAB
tetradic
#ABB42E #2EB47A #372EB4 #B42E68
square
#ABB42E #2EB47A #372EB4 #B42E68
split-complementary
#ABB42E #2E68B4 #7A2EB4
monochromatic
#4E5315 #7D8322 #ABB42E #C9D24E #D8DE7E

Accessibility & contrast

On white

2.26
#ABB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#ABB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB42E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB42E#FFFFFF#000000##000000
##ABB42E1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB10
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#B7A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb42e;
/* rgb */ color: rgb(171, 180, 46);
/* oklch */ color: oklch(73.9% 0.150 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8ca71',
    500: '#abb42e',
    950: '#000000',
  },
}
SCSS
$custom: #abb42e;
$custom-light: #c8ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#abb42e",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 64.03,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73925,
    "c": 0.15032,
    "h": 113.4
  },
  "luminance": 0.41498
}

Semantic roles & 50–950 ramp

primary
#ABB42E
secondary
#7C77C7
accent
#45E250
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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