#ABB827#ABB827

#ABB827 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.8% C 0.158 H 114.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#ABB827
RGBrgb(171, 184, 39)
HSLhsl(65, 65%, 44%)
HSVhsv(65, 79%, 72%)
CMYKcmyk(7.1%, 0%, 78.8%, 27.8%)
CIE-LABlab(71.61, -21.66, 65.82)
CIE-LCHlch(71.61, 69.29, 108.21°)
OKLaboklab(74.79% -0.0666 0.1435)
OKLCHoklch(74.79% 0.158 114.9)
XYZxyz(34.3023, 43.0860, 8.4285)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB827 #3427B8
analogous
#B87C27 #ABB827 #62B827
triadic
#ABB827 #27ABB8 #B827AB
tetradic
#ABB827 #27B87C #3427B8 #B82762
square
#ABB827 #27B87C #3427B8 #B82762
split-complementary
#ABB827 #2762B8 #7C27B8
monochromatic
#4D5312 #7C861C #ABB827 #CAD845 #D9E277

Accessibility & contrast

On white

2.18
#ABB827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#ABB827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB827
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB827#FFFFFF#000000##000000
##ABB8271.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#B7AD9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb827;
/* rgb */ color: rgb(171, 184, 39);
/* oklch */ color: oklch(74.8% 0.158 114.9);
Tailwind
colors: {
  custom: {
    50: '#c8cd6e',
    500: '#abb827',
    950: '#000000',
  },
}
SCSS
$custom: #abb827;
$custom-light: #c8cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb827",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 65.379,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.1582,
    "h": 114.9
  },
  "luminance": 0.43085
}

Semantic roles & 50–950 ramp

primary
#ABB827
secondary
#7971CA
accent
#40E84F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB827

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

Preview Lab → · Contrast checker → · Palette generator →

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