#ABB945#ABB945

#ABB945 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.2% C 0.140 H 115.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#ABB945
RGBrgb(171, 185, 69)
HSLhsl(67, 46%, 50%)
HSVhsv(67, 63%, 73%)
CMYKcmyk(7.6%, 0%, 62.7%, 27.5%)
CIE-LABlab(72.09, -20.55, 55.39)
CIE-LCHlch(72.09, 59.08, 110.36°)
OKLaboklab(75.23% -0.0608 0.1264)
OKLCHoklch(75.23% 0.14 115.7)
XYZxyz(35.2185, 43.7860, 12.2253)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB945 #5345B9
analogous
#B98D45 #ABB945 #71B945
triadic
#ABB945 #45ABB9 #B945AB
tetradic
#ABB945 #45B98D #5345B9 #B94571
square
#ABB945 #45B98D #5345B9 #B94571
split-complementary
#ABB945 #4571B9 #8D45B9
monochromatic
#596024 #828C34 #ABB945 #BFCA71 #D3DB9E

Accessibility & contrast

On white

2.15
#ABB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#ABB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB945
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB945#FFFFFF#000000##000000
##ABB9451.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#C4B24D
Tritanopia (blue-blind)
#B5AFA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abb945;
/* rgb */ color: rgb(171, 185, 69);
/* oklch */ color: oklch(75.2% 0.140 115.7);
Tailwind
colors: {
  custom: {
    50: '#c7cd7e',
    500: '#abb945',
    950: '#000000',
  },
}
SCSS
$custom: #abb945;
$custom-light: #c7cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb945",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 67.241,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75227,
    "c": 0.14024,
    "h": 115.7
  },
  "luminance": 0.43786
}

Semantic roles & 50–950 ramp

primary
#ABB945
secondary
#9993C7
accent
#52D562
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB945

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

Preview Lab → · Contrast checker → · Palette generator →

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