#ABB731#ABB731

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

Color values

HEX#ABB731
RGBrgb(171, 183, 49)
HSLhsl(65, 58%, 45%)
HSVhsv(65, 73%, 72%)
CMYKcmyk(6.6%, 0%, 73.2%, 28.2%)
CIE-LABlab(71.38, -20.73, 62.42)
CIE-LCHlch(71.38, 65.78, 108.37°)
OKLaboklab(74.62% -0.0632 0.138)
OKLCHoklch(74.62% 0.152 114.6)
XYZxyz(34.2834, 42.7473, 9.3502)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB731 #3D31B7
analogous
#B78031 #ABB731 #68B731
triadic
#ABB731 #31ABB7 #B731AB
tetradic
#ABB731 #31B780 #3D31B7 #B73168
square
#ABB731 #31B780 #3D31B7 #B73168
split-complementary
#ABB731 #3168B7 #8031B7
monochromatic
#515617 #7E8724 #ABB731 #C6D154 #D6DE84

Accessibility & contrast

On white

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

On black

9.55
#ABB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB731
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB731#FFFFFF#000000##000000
##ABB7311.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE16
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B6AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb731;
/* rgb */ color: rgb(171, 183, 49);
/* oklch */ color: oklch(74.6% 0.152 114.6);
Tailwind
colors: {
  custom: {
    50: '#c7cc73',
    500: '#abb731',
    950: '#000000',
  },
}
SCSS
$custom: #abb731;
$custom-light: #c7cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#abb731",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 65.373,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7462,
    "c": 0.15183,
    "h": 114.6
  },
  "luminance": 0.42747
}

Semantic roles & 50–950 ramp

primary
#ABB731
secondary
#837CC8
accent
#47E155
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB731

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

Preview Lab → · Contrast checker → · Palette generator →

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