#228E1A#228E1A

#228E1A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.176 H 142.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228E1A
RGBrgb(34, 142, 26)
HSLhsl(116, 69%, 33%)
HSVhsv(116, 82%, 56%)
CMYKcmyk(76.1%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.56, -51.17, 48.72)
CIE-LCHlch(51.56, 70.65, 136.41°)
OKLaboklab(56.57% -0.1393 0.1084)
OKLCHoklch(56.57% 0.177 142.1)
XYZxyz(10.5185, 19.7595, 4.2367)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E1A #861A8E
analogous
#5C8E1A #228E1A #1A8E4C
triadic
#228E1A #1A228E #8E1A22
tetradic
#228E1A #1A5C8E #861A8E #8E4C1A
square
#228E1A #1A5C8E #861A8E #8E4C1A
split-complementary
#228E1A #4C1A8E #8E1A5C
monochromatic
#092707 #165A11 #228E1A #2EC223 #50DD45

Accessibility & contrast

On white

4.24
#228E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#228E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E1A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E1A#FFFFFF#000000##000000
##228E1A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e1a;
/* rgb */ color: rgb(34, 142, 26);
/* oklch */ color: oklch(56.6% 0.176 142.1);
Tailwind
colors: {
  custom: {
    50: '#71b061',
    500: '#228e1a',
    950: '#000000',
  },
}
SCSS
$custom: #228e1a;
$custom-light: #71b061;
$custom-dark: #000000;
JSON
{
  "hex": "#228e1a",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 115.862,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.1765,
    "h": 142.1
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#228E1A
secondary
#B645BE
accent
#3CECE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #228E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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