#56981D#56981D

#56981D is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.2% C 0.164 H 134.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#56981D
RGBrgb(86, 152, 29)
HSLhsl(92, 68%, 35%)
HSVhsv(92, 81%, 60%)
CMYKcmyk(43.4%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.61, -41.05, 53.14)
CIE-LCHlch(56.61, 67.15, 127.68°)
OKLaboklab(61.22% -0.1152 0.1174)
OKLCHoklch(61.22% 0.164 134.4)
XYZxyz(15.2875, 24.5228, 5.0900)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56981D #5F1D98
analogous
#93981D #56981D #1D9821
triadic
#56981D #1D5698 #981D56
tetradic
#56981D #1D9398 #5F1D98 #98211D
square
#56981D #1D9398 #5F1D98 #98211D
split-complementary
#56981D #211D98 #981D93
monochromatic
#1C3109 #396513 #56981D #73CB27 #93DE52

Accessibility & contrast

On white

3.56
#56981D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#56981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56981D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56981D#FFFFFF#000000##000000
##56981D1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#559281
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #56981d;
/* rgb */ color: rgb(86, 152, 29);
/* oklch */ color: oklch(61.2% 0.164 134.4);
Tailwind
colors: {
  custom: {
    50: '#8cb764',
    500: '#56981d',
    950: '#000000',
  },
}
SCSS
$custom: #56981d;
$custom-light: #8cb764;
$custom-dark: #000000;
JSON
{
  "hex": "#56981d",
  "rgb": {
    "r": 86,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 92.195,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.16449,
    "h": 134.4
  },
  "luminance": 0.24524
}

Semantic roles & 50–950 ramp

primary
#56981D
secondary
#8D50C1
accent
#3DEB9A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #56981D

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

Preview Lab → · Contrast checker → · Palette generator →

#56981D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva