#56B125#56B125

#56B125 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 67.8% C 0.191 H 137.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#56B125
RGBrgb(86, 177, 37)
HSLhsl(99, 65%, 42%)
HSVhsv(99, 79%, 69%)
CMYKcmyk(51.4%, 0%, 79.1%, 30.6%)
CIE-LABlab(64.61, -50.58, 58.18)
CIE-LCHlch(64.61, 77.10, 131.00°)
OKLaboklab(67.81% -0.1403 0.1292)
OKLCHoklch(67.81% 0.191 137.4)
XYZxyz(19.8932, 33.5548, 7.1784)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B125 #8025B1
analogous
#9CB125 #56B125 #25B13A
triadic
#56B125 #2556B1 #B12556
tetradic
#56B125 #259CB1 #8025B1 #B13A25
square
#56B125 #259CB1 #8025B1 #B13A25
split-complementary
#56B125 #3A25B1 #B1259C
monochromatic
#254C10 #3D7E1A #56B125 #73D63D #97E16F

Accessibility & contrast

On white

2.72
#56B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#56B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B125
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B125#FFFFFF#000000##000000
##56B1251.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#50AB97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #56b125;
/* rgb */ color: rgb(86, 177, 37);
/* oklch */ color: oklch(67.8% 0.191 137.4);
Tailwind
colors: {
  custom: {
    50: '#8fc96b',
    500: '#56b125',
    950: '#000000',
  },
}
SCSS
$custom: #56b125;
$custom-light: #8fc96b;
$custom-dark: #000000;
JSON
{
  "hex": "#56b125",
  "rgb": {
    "r": 86,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 99,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67812,
    "c": 0.19075,
    "h": 137.4
  },
  "luminance": 0.33556
}

Semantic roles & 50–950 ramp

primary
#56B125
secondary
#A76AC8
accent
#3FE8AD
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B125

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

Preview Lab → · Contrast checker → · Palette generator →

#56B125 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva