#ABB74B#ABB74B

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

Color values

HEX#ABB74B
RGBrgb(171, 183, 75)
HSLhsl(67, 43%, 51%)
HSVhsv(67, 59%, 72%)
CMYKcmyk(6.6%, 0%, 59%, 28.2%)
CIE-LABlab(71.58, -19.11, 52.22)
CIE-LCHlch(71.58, 55.60, 110.10°)
OKLaboklab(74.84% -0.0561 0.1204)
OKLCHoklch(74.84% 0.133 115)
XYZxyz(34.9988, 43.0334, 13.1178)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB74B #574BB7
analogous
#B78D4B #ABB74B #75B74B
triadic
#ABB74B #4BABB7 #B74BAB
tetradic
#ABB74B #4BB78D #574BB7 #B74B75
square
#ABB74B #4BB78D #574BB7 #B74B75
split-complementary
#ABB74B #4B75B7 #8D4BB7
monochromatic
#5A6127 #838D38 #ABB74B #BFC877 #D4DAA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB74B#FFFFFF#000000##000000
##ABB74B1.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)
#C3AE3F
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#B5ADA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb74b;
/* rgb */ color: rgb(171, 183, 75);
/* oklch */ color: oklch(74.8% 0.133 115.0);
Tailwind
colors: {
  custom: {
    50: '#c6cc81',
    500: '#abb74b',
    950: '#000000',
  },
}
SCSS
$custom: #abb74b;
$custom-light: #c6cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#abb74b",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 66.667,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74838,
    "c": 0.13288,
    "h": 115
  },
  "luminance": 0.43033
}

Semantic roles & 50–950 ramp

primary
#ABB74B
secondary
#9C97C7
accent
#55D363
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB74B

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

Preview Lab → · Contrast checker → · Palette generator →

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