#56981C#56981C

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

Color values

HEX#56981C
RGBrgb(86, 152, 28)
HSLhsl(92, 69%, 35%)
HSVhsv(92, 82%, 60%)
CMYKcmyk(43.4%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.60, -41.10, 53.43)
CIE-LCHlch(56.60, 67.41, 127.57°)
OKLaboklab(61.22% -0.1154 0.1179)
OKLCHoklch(61.22% 0.165 134.4)
XYZxyz(15.2753, 24.5179, 5.0259)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56981C #5E1C98
analogous
#94981C #56981C #1C9820
triadic
#56981C #1C5698 #981C56
tetradic
#56981C #1C9498 #5E1C98 #98201C
square
#56981C #1C9498 #5E1C98 #98201C
split-complementary
#56981C #201C98 #981C94
monochromatic
#1C3109 #396412 #56981C #73CC26 #93DF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56981C#FFFFFF#000000##000000
##56981C1.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)
#95862A
Tritanopia (blue-blind)
#559281
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #56981c;
/* rgb */ color: rgb(86, 152, 28);
/* oklch */ color: oklch(61.2% 0.165 134.4);
Tailwind
colors: {
  custom: {
    50: '#8cb764',
    500: '#56981c',
    950: '#000000',
  },
}
SCSS
$custom: #56981c;
$custom-light: #8cb764;
$custom-dark: #000000;
JSON
{
  "hex": "#56981c",
  "rgb": {
    "r": 86,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 91.935,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.16496,
    "h": 134.4
  },
  "luminance": 0.24519
}

Semantic roles & 50–950 ramp

primary
#56981C
secondary
#8C4EC1
accent
#3CEC9A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #56981C

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

Preview Lab → · Contrast checker → · Palette generator →

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