#56B123#56B123

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

Color values

HEX#56B123
RGBrgb(86, 177, 35)
HSLhsl(98, 67%, 42%)
HSVhsv(98, 80%, 69%)
CMYKcmyk(51.4%, 0%, 80.2%, 30.6%)
CIE-LABlab(64.60, -50.69, 58.77)
CIE-LCHlch(64.60, 77.62, 130.78°)
OKLaboklab(67.8% -0.1407 0.1301)
OKLCHoklch(67.8% 0.192 137.2)
XYZxyz(19.8626, 33.5426, 7.0175)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B123 #7E23B1
analogous
#9DB123 #56B123 #23B137
triadic
#56B123 #2356B1 #B12356
tetradic
#56B123 #239DB1 #7E23B1 #B13723
square
#56B123 #239DB1 #7E23B1 #B13723
split-complementary
#56B123 #3723B1 #B1239D
monochromatic
#244B0F #3D7E19 #56B123 #72D839 #97E26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B123#FFFFFF#000000##000000
##56B1231.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)
#AB9A34
Tritanopia (blue-blind)
#50AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #56b123;
/* rgb */ color: rgb(86, 177, 35);
/* oklch */ color: oklch(67.8% 0.192 137.2);
Tailwind
colors: {
  custom: {
    50: '#8fc96a',
    500: '#56b123',
    950: '#000000',
  },
}
SCSS
$custom: #56b123;
$custom-light: #8fc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#56b123",
  "rgb": {
    "r": 86,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 98.451,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67801,
    "c": 0.19169,
    "h": 137.2
  },
  "luminance": 0.33544
}

Semantic roles & 50–950 ramp

primary
#56B123
secondary
#A668C8
accent
#3EEAAC
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B123

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

Preview Lab → · Contrast checker → · Palette generator →

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