#ABB73B#ABB73B

#ABB73B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.145 H 114.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#ABB73B
RGBrgb(171, 183, 59)
HSLhsl(66, 51%, 47%)
HSVhsv(66, 68%, 72%)
CMYKcmyk(6.6%, 0%, 67.8%, 28.2%)
CIE-LABlab(71.45, -20.20, 58.80)
CIE-LCHlch(71.45, 62.17, 108.96°)
OKLaboklab(74.69% -0.0608 0.1321)
OKLCHoklch(74.69% 0.145 114.7)
XYZxyz(34.5184, 42.8413, 10.5876)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB73B #473BB7
analogous
#B7853B #ABB73B #6DB73B
triadic
#ABB73B #3BABB7 #B73BAB
tetradic
#ABB73B #3BB785 #473BB7 #B73B6D
square
#ABB73B #3BB785 #473BB7 #B73B6D
split-complementary
#ABB73B #3B6DB7 #853BB7
monochromatic
#555A1D #80892C #ABB73B #C2CD63 #D4DC91

Accessibility & contrast

On white

2.19
#ABB73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#ABB73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB73B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB73B#FFFFFF#000000##000000
##ABB73B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE28
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#B6AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb73b;
/* rgb */ color: rgb(171, 183, 59);
/* oklch */ color: oklch(74.7% 0.145 114.7);
Tailwind
colors: {
  custom: {
    50: '#c7cc78',
    500: '#abb73b',
    950: '#000000',
  },
}
SCSS
$custom: #abb73b;
$custom-light: #c7cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#abb73b",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 65.806,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74691,
    "c": 0.14541,
    "h": 114.7
  },
  "luminance": 0.42841
}

Semantic roles & 50–950 ramp

primary
#ABB73B
secondary
#8D87C6
accent
#4DDB5B
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB73B

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

Preview Lab → · Contrast checker → · Palette generator →

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