#ABC326#ABC326

#ABC326 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.3% C 0.171 H 118.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#ABC326
RGBrgb(171, 195, 38)
HSLhsl(69, 67%, 46%)
HSVhsv(69, 81%, 76%)
CMYKcmyk(12.3%, 0%, 80.5%, 23.5%)
CIE-LABlab(74.72, -27.06, 68.86)
CIE-LCHlch(74.72, 73.98, 111.45°)
OKLaboklab(77.28% -0.0816 0.1498)
OKLCHoklch(77.28% 0.171 118.6)
XYZxyz(36.6604, 47.8284, 9.1339)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC326 #3E26C3
analogous
#C38C26 #ABC326 #5CC326
triadic
#ABC326 #26ABC3 #C326AB
tetradic
#ABC326 #26C38C #3E26C3 #C3265C
square
#ABC326 #26C38C #3E26C3 #C3265C
split-complementary
#ABC326 #265CC3 #8C26C3
monochromatic
#515D12 #7E901C #ABC326 #C6DC4A #D6E67E

Accessibility & contrast

On white

1.99
#ABC326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#ABC326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC326
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC326#FFFFFF#000000##000000
##ABC3261.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#CEB836
Tritanopia (blue-blind)
#B6B8A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc326;
/* rgb */ color: rgb(171, 195, 38);
/* oklch */ color: oklch(77.3% 0.171 118.6);
Tailwind
colors: {
  custom: {
    50: '#c8d570',
    500: '#abc326',
    950: '#000000',
  },
}
SCSS
$custom: #abc326;
$custom-light: #c8d570;
$custom-dark: #000000;
JSON
{
  "hex": "#abc326",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 38
  },
  "hsl": {
    "h": 69.172,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77282,
    "c": 0.17056,
    "h": 118.6
  },
  "luminance": 0.47828
}

Semantic roles & 50–950 ramp

primary
#ABC326
secondary
#8477CE
accent
#3EEA58
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #ABC326

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

Preview Lab → · Contrast checker → · Palette generator →

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