#ABB742#ABB742

#ABB742 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.140 H 114.8°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#ABB742
RGBrgb(171, 183, 66)
HSLhsl(66, 47%, 49%)
HSVhsv(66, 64%, 72%)
CMYKcmyk(6.6%, 0%, 63.9%, 28.2%)
CIE-LABlab(71.50, -19.76, 56.03)
CIE-LCHlch(71.50, 59.41, 109.42°)
OKLaboklab(74.75% -0.0589 0.1273)
OKLCHoklch(74.75% 0.14 114.8)
XYZxyz(34.7123, 42.9188, 11.6088)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB742 #4E42B7
analogous
#B78942 #ABB742 #71B742
triadic
#ABB742 #42ABB7 #B742AB
tetradic
#ABB742 #42B789 #4E42B7 #B74271
square
#ABB742 #42B789 #4E42B7 #B74271
split-complementary
#ABB742 #4271B7 #8942B7
monochromatic
#575D22 #818A32 #ABB742 #C0CA6C #D4DA99

Accessibility & contrast

On white

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

On black

9.58
#ABB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB742
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB742#FFFFFF#000000##000000
##ABB7421.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE33
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#B6AD9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb742;
/* rgb */ color: rgb(171, 183, 66);
/* oklch */ color: oklch(74.8% 0.140 114.8);
Tailwind
colors: {
  custom: {
    50: '#c7cc7c',
    500: '#abb742',
    950: '#000000',
  },
}
SCSS
$custom: #abb742;
$custom-light: #c7cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#abb742",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 66.154,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.14026,
    "h": 114.8
  },
  "luminance": 0.42918
}

Semantic roles & 50–950 ramp

primary
#ABB742
secondary
#948FC6
accent
#51D75F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB742

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

Preview Lab → · Contrast checker → · Palette generator →

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