#ABB245#ABB245

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

Color values

HEX#ABB245
RGBrgb(171, 178, 69)
HSLhsl(64, 44%, 48%)
HSVhsv(64, 61%, 70%)
CMYKcmyk(3.9%, 0%, 61.2%, 30.2%)
CIE-LABlab(70.13, -17.03, 53.28)
CIE-LCHlch(70.13, 55.93, 107.73°)
OKLaboklab(73.66% -0.0509 0.1219)
OKLCHoklch(73.66% 0.132 112.7)
XYZxyz(33.7900, 40.9291, 11.7492)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB245 #4C45B2
analogous
#B28245 #ABB245 #74B245
triadic
#ABB245 #45ABB2 #B245AB
tetradic
#ABB245 #45B282 #4C45B2 #B24574
square
#ABB245 #45B282 #4C45B2 #B24574
split-complementary
#ABB245 #4574B2 #8245B2
monochromatic
#565A23 #818634 #ABB245 #C1C76E #D4D89A

Accessibility & contrast

On white

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

On black

9.19
#ABB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB245
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB245#FFFFFF#000000##000000
##ABB2451.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb245;
/* rgb */ color: rgb(171, 178, 69);
/* oklch */ color: oklch(73.7% 0.132 112.7);
Tailwind
colors: {
  custom: {
    50: '#c7c87d',
    500: '#abb245',
    950: '#000000',
  },
}
SCSS
$custom: #abb245;
$custom-light: #c7c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#abb245",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 63.853,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73659,
    "c": 0.13211,
    "h": 112.7
  },
  "luminance": 0.40928
}

Semantic roles & 50–950 ramp

primary
#ABB245
secondary
#928FC4
accent
#54D45C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB245

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

Preview Lab → · Contrast checker → · Palette generator →

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