#ABC031#ABC031

#ABC031 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.7% C 0.162 H 117.8°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#ABC031
RGBrgb(171, 192, 49)
HSLhsl(69, 59%, 47%)
HSVhsv(69, 74%, 75%)
CMYKcmyk(10.9%, 0%, 74.5%, 24.7%)
CIE-LABlab(73.92, -25.16, 64.83)
CIE-LCHlch(73.92, 69.54, 111.21°)
OKLaboklab(76.66% -0.0755 0.1431)
OKLCHoklch(76.66% 0.162 117.8)
XYZxyz(36.1994, 46.5793, 9.9889)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC031 #4631C0
analogous
#C08D31 #ABC031 #64C031
triadic
#ABC031 #31ABC0 #C031AB
tetradic
#ABC031 #31C08D #4631C0 #C03164
square
#ABC031 #31C08D #4631C0 #C03164
split-complementary
#ABC031 #3164C0 #8D31C0
monochromatic
#545E18 #808F25 #ABC031 #C3D559 #D4E18A

Accessibility & contrast

On white

2.04
#ABC031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#ABC031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC031
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC031#FFFFFF#000000##000000
##ABC0311.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB510
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#B6B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #abc031;
/* rgb */ color: rgb(171, 192, 49);
/* oklch */ color: oklch(76.7% 0.162 117.8);
Tailwind
colors: {
  custom: {
    50: '#c8d374',
    500: '#abc031',
    950: '#000000',
  },
}
SCSS
$custom: #abc031;
$custom-light: #c8d374;
$custom-dark: #000000;
JSON
{
  "hex": "#abc031",
  "rgb": {
    "r": 171,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 68.811,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76657,
    "c": 0.16181,
    "h": 117.8
  },
  "luminance": 0.46579
}

Semantic roles & 50–950 ramp

primary
#ABC031
secondary
#8C82CB
accent
#45E35C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC031

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

Preview Lab → · Contrast checker → · Palette generator →

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