#ABB726#ABB726

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

Color values

HEX#ABB726
RGBrgb(171, 183, 38)
HSLhsl(65, 66%, 43%)
HSVhsv(65, 79%, 72%)
CMYKcmyk(6.6%, 0%, 79.2%, 28.2%)
CIE-LABlab(71.33, -21.20, 65.85)
CIE-LCHlch(71.33, 69.18, 107.84°)
OKLaboklab(74.56% -0.0654 0.1434)
OKLCHoklch(74.56% 0.158 114.5)
XYZxyz(34.0790, 42.6655, 8.2734)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB726 #3226B7
analogous
#B77B26 #ABB726 #62B726
triadic
#ABB726 #26ABB7 #B726AB
tetradic
#ABB726 #26B77B #3226B7 #B72662
square
#ABB726 #26B77B #3226B7 #B72662
split-complementary
#ABB726 #2662B7 #7B26B7
monochromatic
#4C5211 #7C841B #ABB726 #CBD842 #D9E275

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB726#FFFFFF#000000##000000
##ABB7261.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)
#C4B034
Tritanopia (blue-blind)
#B7AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb726;
/* rgb */ color: rgb(171, 183, 38);
/* oklch */ color: oklch(74.6% 0.158 114.5);
Tailwind
colors: {
  custom: {
    50: '#c8cc6e',
    500: '#abb726',
    950: '#000000',
  },
}
SCSS
$custom: #abb726;
$custom-light: #c8cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb726",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 64.966,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74557,
    "c": 0.1576,
    "h": 114.5
  },
  "luminance": 0.42665
}

Semantic roles & 50–950 ramp

primary
#ABB726
secondary
#776FCA
accent
#3FE94D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB726

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

Preview Lab → · Contrast checker → · Palette generator →

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