#228C1E#228C1E

#228C1E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.172 H 142.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228C1E
RGBrgb(34, 140, 30)
HSLhsl(118, 65%, 33%)
HSVhsv(118, 79%, 55%)
CMYKcmyk(75.7%, 0%, 78.6%, 45.1%)
CIE-LABlab(50.91, -50.23, 46.77)
CIE-LCHlch(50.91, 68.64, 137.04°)
OKLaboklab(56.03% -0.1366 0.1049)
OKLCHoklch(56.03% 0.172 142.5)
XYZxyz(10.2715, 19.1888, 4.3905)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C1E #881E8C
analogous
#598C1E #228C1E #1E8C51
triadic
#228C1E #1E228C #8C1E22
tetradic
#228C1E #1E598C #881E8C #8C511E
square
#228C1E #1E598C #881E8C #8C511E
split-complementary
#228C1E #511E8C #8C1E59
monochromatic
#0A2708 #165A13 #228C1E #2EBE29 #51D94C

Accessibility & contrast

On white

4.34
#228C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#228C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C1E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C1E#FFFFFF#000000##000000
##228C1E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c1e;
/* rgb */ color: rgb(34, 140, 30);
/* oklch */ color: oklch(56.0% 0.172 142.5);
Tailwind
colors: {
  custom: {
    50: '#70af63',
    500: '#228c1e',
    950: '#000000',
  },
}
SCSS
$custom: #228c1e;
$custom-light: #70af63;
$custom-dark: #000000;
JSON
{
  "hex": "#228c1e",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 117.818,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.17222,
    "h": 142.5
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#228C1E
secondary
#B74BBB
accent
#40E8E2
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228C1E

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

Preview Lab → · Contrast checker → · Palette generator →

#228C1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva