#ABB242#ABB242

#ABB242 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.6% C 0.135 H 112.7°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#ABB242
RGBrgb(171, 178, 66)
HSLhsl(64, 46%, 48%)
HSVhsv(64, 63%, 70%)
CMYKcmyk(3.9%, 0%, 62.9%, 30.2%)
CIE-LABlab(70.10, -17.24, 54.54)
CIE-LCHlch(70.10, 57.20, 107.54°)
OKLaboklab(73.63% -0.0518 0.1242)
OKLCHoklch(73.63% 0.135 112.7)
XYZxyz(33.6992, 40.8928, 11.2711)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB242 #4942B2
analogous
#B28142 #ABB242 #73B242
triadic
#ABB242 #42ABB2 #B242AB
tetradic
#ABB242 #42B281 #4942B2 #B24273
square
#ABB242 #42B281 #4942B2 #B24273
split-complementary
#ABB242 #4273B2 #8142B2
monochromatic
#555921 #808531 #ABB242 #C2C86A #D4D896

Accessibility & contrast

On white

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

On black

9.18
#ABB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB242
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB242#FFFFFF#000000##000000
##ABB2421.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#BFAD49
Tritanopia (blue-blind)
#B6A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb242;
/* rgb */ color: rgb(171, 178, 66);
/* oklch */ color: oklch(73.6% 0.135 112.7);
Tailwind
colors: {
  custom: {
    50: '#c7c87c',
    500: '#abb242',
    950: '#000000',
  },
}
SCSS
$custom: #abb242;
$custom-light: #c7c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#abb242",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 63.75,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7363,
    "c": 0.13454,
    "h": 112.7
  },
  "luminance": 0.40892
}

Semantic roles & 50–950 ramp

primary
#ABB242
secondary
#8F8CC4
accent
#52D65A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB242

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

Preview Lab → · Contrast checker → · Palette generator →

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