#56B231#56B231

#56B231 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.2% C 0.185 H 138.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#56B231
RGBrgb(86, 178, 49)
HSLhsl(103, 57%, 45%)
HSVhsv(103, 72%, 70%)
CMYKcmyk(51.7%, 0%, 72.5%, 30.2%)
CIE-LABlab(64.99, -50.18, 54.49)
CIE-LCHlch(64.99, 74.07, 132.64°)
OKLaboklab(68.15% -0.1385 0.1232)
OKLCHoklch(68.15% 0.185 138.4)
XYZxyz(20.3118, 34.0394, 8.4051)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B231 #8D31B2
analogous
#96B231 #56B231 #31B24D
triadic
#56B231 #3156B2 #B23156
tetradic
#56B231 #3196B2 #8D31B2 #B24D31
square
#56B231 #3196B2 #8D31B2 #B24D31
split-complementary
#56B231 #4D31B2 #B23196
monochromatic
#285217 #3F8224 #56B231 #75CF51 #9BDC81

Accessibility & contrast

On white

2.69
#56B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#56B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B231
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B231#FFFFFF#000000##000000
##56B2311.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A21A
Deuteranopia (green-blind)
#AC9B3E
Tritanopia (blue-blind)
#4EAC99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b231;
/* rgb */ color: rgb(86, 178, 49);
/* oklch */ color: oklch(68.2% 0.185 138.4);
Tailwind
colors: {
  custom: {
    50: '#8eca71',
    500: '#56b231',
    950: '#000000',
  },
}
SCSS
$custom: #56b231;
$custom-light: #8eca71;
$custom-dark: #000000;
JSON
{
  "hex": "#56b231",
  "rgb": {
    "r": 86,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 102.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68153,
    "c": 0.18537,
    "h": 138.4
  },
  "luminance": 0.34041
}

Semantic roles & 50–950 ramp

primary
#56B231
secondary
#B079C5
accent
#48E0B4
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #56B231

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

Preview Lab → · Contrast checker → · Palette generator →

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