#228A30#228A30

#228A30 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.158 H 145.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#228A30
RGBrgb(34, 138, 48)
HSLhsl(128, 60%, 34%)
HSVhsv(128, 75%, 54%)
CMYKcmyk(75.4%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.37, -47.84, 38.88)
CIE-LCHlch(50.37, 61.65, 140.90°)
OKLaboklab(55.63% -0.1292 0.0906)
OKLCHoklch(55.63% 0.158 145)
XYZxyz(10.2810, 18.7293, 5.8690)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A30 #8A227C
analogous
#488A22 #228A30 #228A64
triadic
#228A30 #30228A #8A3022
tetradic
#228A30 #22488A #8A227C #8A6422
square
#228A30 #22488A #8A227C #8A6422
split-complementary
#228A30 #64228A #8A2248
monochromatic
#0A280E #16591F #228A30 #2EBB41 #52D464

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228A30#FFFFFF#000000##000000
##228A301.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)
#8C7D25
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a30;
/* rgb */ color: rgb(34, 138, 48);
/* oklch */ color: oklch(55.6% 0.158 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ead6c',
    500: '#228a30',
    950: '#000000',
  },
}
SCSS
$custom: #228a30;
$custom-light: #6ead6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228a30",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 128.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.15783,
    "h": 145
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#228A30
secondary
#B850AA
accent
#44CEE4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228A30

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

Preview Lab → · Contrast checker → · Palette generator →

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