#228E34#228E34

#228E34 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.160 H 145.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228E34
RGBrgb(34, 142, 52)
HSLhsl(130, 61%, 35%)
HSVhsv(130, 76%, 56%)
CMYKcmyk(76.1%, 0%, 63.4%, 44.3%)
CIE-LABlab(51.76, -48.77, 38.59)
CIE-LCHlch(51.76, 62.19, 141.65°)
OKLaboklab(56.8% -0.1316 0.0904)
OKLCHoklch(56.8% 0.16 145.5)
XYZxyz(10.9518, 19.9328, 6.5184)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E34 #8E227C
analogous
#468E22 #228E34 #228E6A
triadic
#228E34 #34228E #8E3422
tetradic
#228E34 #22468E #8E227C #8E6A22
square
#228E34 #22468E #8E227C #8E6A22
split-complementary
#228E34 #6A228E #8E2246
monochromatic
#0A2B10 #165D22 #228E34 #2EBF46 #54D66A

Accessibility & contrast

On white

4.21
#228E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#228E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E34
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E34#FFFFFF#000000##000000
##228E341.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812A
Deuteranopia (green-blind)
#84783C
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e34;
/* rgb */ color: rgb(34, 142, 52);
/* oklch */ color: oklch(56.8% 0.160 145.5);
Tailwind
colors: {
  custom: {
    50: '#6fb06f',
    500: '#228e34',
    950: '#000000',
  },
}
SCSS
$custom: #228e34;
$custom-light: #6fb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#228e34",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 130,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56799,
    "c": 0.15963,
    "h": 145.5
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#228E34
secondary
#BA52A9
accent
#43CAE4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #228E34

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

Preview Lab → · Contrast checker → · Palette generator →

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