#ABB42F#ABB42F

#ABB42F 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#ABB42F
RGBrgb(171, 180, 47)
HSLhsl(64, 59%, 45%)
HSVhsv(64, 74%, 71%)
CMYKcmyk(5%, 0%, 73.9%, 29.4%)
CIE-LABlab(70.53, -19.33, 62.30)
CIE-LCHlch(70.53, 65.23, 107.24°)
OKLaboklab(73.93% -0.0595 0.1374)
OKLCHoklch(73.93% 0.15 113.4)
XYZxyz(33.6300, 41.5064, 8.9287)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB42F #382FB4
analogous
#B47B2F #ABB42F #69B42F
triadic
#ABB42F #2FABB4 #B42FAB
tetradic
#ABB42F #2FB47B #382FB4 #B42F69
square
#ABB42F #2FB47B #382FB4 #B42F69
split-complementary
#ABB42F #2F69B4 #7B2FB4
monochromatic
#4F5316 #7D8322 #ABB42F #C8D14F #D7DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB42F#FFFFFF#000000##000000
##ABB42F1.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)
#C2AB13
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#B7A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb42f;
/* rgb */ color: rgb(171, 180, 47);
/* oklch */ color: oklch(73.9% 0.150 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7ca72',
    500: '#abb42f',
    950: '#000000',
  },
}
SCSS
$custom: #abb42f;
$custom-light: #c7ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#abb42f",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 64.06,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73931,
    "c": 0.14976,
    "h": 113.4
  },
  "luminance": 0.41506
}

Semantic roles & 50–950 ramp

primary
#ABB42F
secondary
#7D78C7
accent
#46E251
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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