#ABB727#ABB727

#ABB727 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.6% C 0.157 H 114.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#ABB727
RGBrgb(171, 183, 39)
HSLhsl(65, 65%, 44%)
HSVhsv(65, 79%, 72%)
CMYKcmyk(6.6%, 0%, 78.7%, 28.2%)
CIE-LABlab(71.33, -21.16, 65.57)
CIE-LCHlch(71.33, 68.90, 107.89°)
OKLaboklab(74.56% -0.0653 0.1429)
OKLCHoklch(74.56% 0.157 114.5)
XYZxyz(34.0953, 42.6720, 8.3595)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB727 #3327B7
analogous
#B77B27 #ABB727 #63B727
triadic
#ABB727 #27ABB7 #B727AB
tetradic
#ABB727 #27B77B #3327B7 #B72763
square
#ABB727 #27B77B #3327B7 #B72763
split-complementary
#ABB727 #2763B7 #7B27B7
monochromatic
#4D5211 #7C851C #ABB727 #CBD744 #D9E276

Accessibility & contrast

On white

2.20
#ABB727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#ABB727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB727
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB727#FFFFFF#000000##000000
##ABB7271.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#B7AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb727;
/* rgb */ color: rgb(171, 183, 39);
/* oklch */ color: oklch(74.6% 0.157 114.5);
Tailwind
colors: {
  custom: {
    50: '#c8cc6e',
    500: '#abb727',
    950: '#000000',
  },
}
SCSS
$custom: #abb727;
$custom-light: #c8cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb727",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 39
  },
  "hsl": {
    "h": 65,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74562,
    "c": 0.15714,
    "h": 114.5
  },
  "luminance": 0.42671
}

Semantic roles & 50–950 ramp

primary
#ABB727
secondary
#7870C9
accent
#40E84E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB727

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

Preview Lab → · Contrast checker → · Palette generator →

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