#228A34#228A34

#228A34 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.155 H 145.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#228A34
RGBrgb(34, 138, 52)
HSLhsl(130, 60%, 34%)
HSVhsv(130, 75%, 54%)
CMYKcmyk(75.4%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.41, -47.35, 37.05)
CIE-LCHlch(50.41, 60.12, 141.96°)
OKLaboklab(55.68% -0.1277 0.0871)
OKLCHoklch(55.68% 0.155 145.7)
XYZxyz(10.3673, 18.7638, 6.3235)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A34 #8A2278
analogous
#448A22 #228A34 #228A68
triadic
#228A34 #34228A #8A3422
tetradic
#228A34 #22448A #8A2278 #8A6822
square
#228A34 #22448A #8A2278 #8A6822
split-complementary
#228A34 #68228A #8A2244
monochromatic
#0A280F #165921 #228A34 #2EBB47 #52D469

Accessibility & contrast

On white

4.42
#228A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#228A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A34
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A34#FFFFFF#000000##000000
##228A341.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2B
Deuteranopia (green-blind)
#80753B
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a34;
/* rgb */ color: rgb(34, 138, 52);
/* oklch */ color: oklch(55.7% 0.155 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ead6f',
    500: '#228a34',
    950: '#000000',
  },
}
SCSS
$custom: #228a34;
$custom-light: #6ead6f;
$custom-dark: #000000;
JSON
{
  "hex": "#228a34",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 130.385,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.15459,
    "h": 145.7
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#228A34
secondary
#B850A6
accent
#44C8E4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228A34

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

Preview Lab → · Contrast checker → · Palette generator →

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