#ABB74C#ABB74C

#ABB74C is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.132 H 115.0°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#ABB74C
RGBrgb(171, 183, 76)
HSLhsl(67, 43%, 51%)
HSVhsv(67, 58%, 72%)
CMYKcmyk(6.6%, 0%, 58.5%, 28.2%)
CIE-LABlab(71.59, -19.03, 51.78)
CIE-LCHlch(71.59, 55.17, 110.18°)
OKLaboklab(74.85% -0.0558 0.1196)
OKLCHoklch(74.85% 0.132 115)
XYZxyz(35.0333, 43.0472, 13.2995)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB74C #584CB7
analogous
#B78D4C #ABB74C #75B74C
triadic
#ABB74C #4CABB7 #B74CAB
tetradic
#ABB74C #4CB78D #584CB7 #B74C75
square
#ABB74C #4CB78D #584CB7 #B74C75
split-complementary
#ABB74C #4C75B7 #8D4CB7
monochromatic
#5B6127 #848D39 #ABB74C #BFC978 #D4DAA3

Accessibility & contrast

On white

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

On black

9.61
#ABB74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB74C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB74C#FFFFFF#000000##000000
##ABB74C1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF40
Deuteranopia (green-blind)
#C2B053
Tritanopia (blue-blind)
#B5ADA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb74c;
/* rgb */ color: rgb(171, 183, 76);
/* oklch */ color: oklch(74.8% 0.132 115.0);
Tailwind
colors: {
  custom: {
    50: '#c6cc82',
    500: '#abb74c',
    950: '#000000',
  },
}
SCSS
$custom: #abb74c;
$custom-light: #c6cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#abb74c",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 66.729,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74848,
    "c": 0.13201,
    "h": 115
  },
  "luminance": 0.43047
}

Semantic roles & 50–950 ramp

primary
#ABB74C
secondary
#9D98C7
accent
#55D263
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB74C

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

Preview Lab → · Contrast checker → · Palette generator →

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