#ABC236#ABC236

#ABC236 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.1% C 0.161 H 118.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#ABC236
RGBrgb(171, 194, 54)
HSLhsl(70, 56%, 49%)
HSVhsv(70, 72%, 76%)
CMYKcmyk(11.9%, 0%, 72.2%, 23.9%)
CIE-LABlab(74.51, -25.88, 63.70)
CIE-LCHlch(74.51, 68.75, 112.11°)
OKLaboklab(77.14% -0.0771 0.1416)
OKLCHoklch(77.14% 0.161 118.6)
XYZxyz(36.7530, 47.5081, 10.7231)
Luminance0.4751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC236 #4D36C2
analogous
#C29336 #ABC236 #65C236
triadic
#ABC236 #36ABC2 #C236AB
tetradic
#ABC236 #36C293 #4D36C2 #C23665
square
#ABC236 #36C293 #4D36C2 #C23665
split-complementary
#ABC236 #3665C2 #9336C2
monochromatic
#57621B #819229 #ABC236 #C1D362 #D4E192

Accessibility & contrast

On white

2.00
#ABC236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#ABC236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC236
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC236#FFFFFF#000000##000000
##ABC2361.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB71B
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#B5B7A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #abc236;
/* rgb */ color: rgb(171, 194, 54);
/* oklch */ color: oklch(77.1% 0.161 118.6);
Tailwind
colors: {
  custom: {
    50: '#c7d477',
    500: '#abc236',
    950: '#000000',
  },
}
SCSS
$custom: #abc236;
$custom-light: #c7d477;
$custom-dark: #000000;
JSON
{
  "hex": "#abc236",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 69.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77144,
    "c": 0.16118,
    "h": 118.6
  },
  "luminance": 0.47508
}

Semantic roles & 50–950 ramp

primary
#ABC236
secondary
#9388CC
accent
#48E061
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #ABC236

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

Preview Lab → · Contrast checker → · Palette generator →

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