#ABC231#ABC231

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

Color values

HEX#ABC231
RGBrgb(171, 194, 49)
HSLhsl(70, 60%, 48%)
HSVhsv(70, 75%, 76%)
CMYKcmyk(11.9%, 0%, 74.7%, 23.9%)
CIE-LABlab(74.49, -26.12, 65.37)
CIE-LCHlch(74.49, 70.39, 111.78°)
OKLaboklab(77.11% -0.0782 0.1442)
OKLCHoklch(77.11% 0.164 118.5)
XYZxyz(36.6416, 47.4636, 10.1362)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC231 #4831C2
analogous
#C29031 #ABC231 #63C231
triadic
#ABC231 #31ABC2 #C231AB
tetradic
#ABC231 #31C290 #4831C2 #C23163
square
#ABC231 #31C290 #4831C2 #C23163
split-complementary
#ABC231 #3163C2 #9031C2
monochromatic
#556018 #809125 #ABC231 #C2D65B #D4E28C

Accessibility & contrast

On white

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

On black

10.49
#ABC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC231
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC231#FFFFFF#000000##000000
##ABC2311.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abc231;
/* rgb */ color: rgb(171, 194, 49);
/* oklch */ color: oklch(77.1% 0.164 118.5);
Tailwind
colors: {
  custom: {
    50: '#c8d474',
    500: '#abc231',
    950: '#000000',
  },
}
SCSS
$custom: #abc231;
$custom-light: #c8d474;
$custom-dark: #000000;
JSON
{
  "hex": "#abc231",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 69.517,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77112,
    "c": 0.16406,
    "h": 118.5
  },
  "luminance": 0.47463
}

Semantic roles & 50–950 ramp

primary
#ABC231
secondary
#8E83CC
accent
#45E35E
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC231

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

Preview Lab → · Contrast checker → · Palette generator →

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