#ABB728#ABB728

#ABB728 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.54:1 contrast (WCAG AA passes).

Color values

HEX#ABB728
RGBrgb(171, 183, 40)
HSLhsl(65, 64%, 44%)
HSVhsv(65, 78%, 72%)
CMYKcmyk(6.6%, 0%, 78.1%, 28.2%)
CIE-LABlab(71.34, -21.12, 65.28)
CIE-LCHlch(71.34, 68.61, 107.93°)
OKLaboklab(74.57% -0.0651 0.1425)
OKLCHoklch(74.57% 0.157 114.5)
XYZxyz(34.1121, 42.6788, 8.4479)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB728 #3428B7
analogous
#B77B28 #ABB728 #63B728
triadic
#ABB728 #28ABB7 #B728AB
tetradic
#ABB728 #28B77B #3428B7 #B72863
square
#ABB728 #28B77B #3428B7 #B72863
split-complementary
#ABB728 #2863B7 #7B28B7
monochromatic
#4D5312 #7C851D #ABB728 #CAD646 #D9E178

Accessibility & contrast

On white

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

On black

9.54
#ABB728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB728
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB728#FFFFFF#000000##000000
##ABB7281.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.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: #abb728;
/* rgb */ color: rgb(171, 183, 40);
/* oklch */ color: oklch(74.6% 0.157 114.5);
Tailwind
colors: {
  custom: {
    50: '#c8cc6f',
    500: '#abb728',
    950: '#000000',
  },
}
SCSS
$custom: #abb728;
$custom-light: #c8cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb728",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 65.035,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74567,
    "c": 0.15666,
    "h": 114.5
  },
  "luminance": 0.42678
}

Semantic roles & 50–950 ramp

primary
#ABB728
secondary
#7972C9
accent
#41E74F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB728

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

Preview Lab → · Contrast checker → · Palette generator →

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