#ABB23B#ABB23B

#ABB23B is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.140 H 112.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#ABB23B
RGBrgb(171, 178, 59)
HSLhsl(64, 50%, 46%)
HSVhsv(64, 67%, 70%)
CMYKcmyk(3.9%, 0%, 66.9%, 30.2%)
CIE-LABlab(70.05, -17.68, 57.37)
CIE-LCHlch(70.05, 60.04, 107.13°)
OKLaboklab(73.57% -0.0538 0.1291)
OKLCHoklch(73.57% 0.14 112.6)
XYZxyz(33.5054, 40.8152, 10.2500)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB23B #423BB2
analogous
#B27E3B #ABB23B #70B23B
triadic
#ABB23B #3BABB2 #B23BAB
tetradic
#ABB23B #3BB27E #423BB2 #B23B70
square
#ABB23B #3BB27E #423BB2 #B23B70
split-complementary
#ABB23B #3B70B2 #7E3BB2
monochromatic
#53561D #7F842C #ABB23B #C4CA60 #D5DA8E

Accessibility & contrast

On white

2.29
#ABB23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#ABB23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB23B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB23B#FFFFFF#000000##000000
##ABB23B1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2A
Deuteranopia (green-blind)
#BFAD43
Tritanopia (blue-blind)
#B6A79A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb23b;
/* rgb */ color: rgb(171, 178, 59);
/* oklch */ color: oklch(73.6% 0.140 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c878',
    500: '#abb23b',
    950: '#000000',
  },
}
SCSS
$custom: #abb23b;
$custom-light: #c7c878;
$custom-dark: #000000;
JSON
{
  "hex": "#abb23b",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 63.529,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73569,
    "c": 0.13983,
    "h": 112.6
  },
  "luminance": 0.40814
}

Semantic roles & 50–950 ramp

primary
#ABB23B
secondary
#8885C4
accent
#4EDA56
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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