#228F1E#228F1E

#228F1E is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.176 H 142.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228F1E
RGBrgb(34, 143, 30)
HSLhsl(118, 65%, 34%)
HSVhsv(118, 79%, 56%)
CMYKcmyk(76.2%, 0%, 79%, 43.9%)
CIE-LABlab(51.92, -51.23, 47.77)
CIE-LCHlch(51.92, 70.05, 137.01°)
OKLaboklab(56.88% -0.1393 0.107)
OKLCHoklch(56.88% 0.176 142.5)
XYZxyz(10.7158, 20.0775, 4.5386)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F1E #8B1E8F
analogous
#5B8F1E #228F1E #1E8F53
triadic
#228F1E #1E228F #8F1E22
tetradic
#228F1E #1E5B8F #8B1E8F #8F531E
square
#228F1E #1E5B8F #8B1E8F #8F531E
split-complementary
#228F1E #531E8F #8F1E5B
monochromatic
#0A2A09 #165C13 #228F1E #2EC229 #53DA4E

Accessibility & contrast

On white

4.19
#228F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#228F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F1E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F1E#FFFFFF#000000##000000
##228F1E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f1e;
/* rgb */ color: rgb(34, 143, 30);
/* oklch */ color: oklch(56.9% 0.176 142.5);
Tailwind
colors: {
  custom: {
    50: '#71b163',
    500: '#228f1e',
    950: '#000000',
  },
}
SCSS
$custom: #228f1e;
$custom-light: #71b163;
$custom-dark: #000000;
JSON
{
  "hex": "#228f1e",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 117.876,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.17562,
    "h": 142.5
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#228F1E
secondary
#B84CBC
accent
#40E8E2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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