#228F30#228F30

#228F30 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.164 H 144.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228F30
RGBrgb(34, 143, 48)
HSLhsl(128, 62%, 35%)
HSVhsv(128, 76%, 56%)
CMYKcmyk(76.2%, 0%, 66.4%, 43.9%)
CIE-LABlab(52.06, -49.59, 40.76)
CIE-LCHlch(52.06, 64.19, 140.58°)
OKLaboklab(57.03% -0.134 0.0946)
OKLCHoklch(57.03% 0.164 144.8)
XYZxyz(11.0149, 20.1971, 6.1137)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F30 #8F2281
analogous
#4B8F22 #228F30 #228F66
triadic
#228F30 #30228F #8F3022
tetradic
#228F30 #224B8F #8F2281 #8F6622
square
#228F30 #224B8F #8F2281 #8F6622
split-complementary
#228F30 #66228F #8F224B
monochromatic
#0A2C0F #165E1F #228F30 #2EC041 #55D766

Accessibility & contrast

On white

4.17
#228F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#228F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F30
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F30#FFFFFF#000000##000000
##228F301.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928124
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f30;
/* rgb */ color: rgb(34, 143, 48);
/* oklch */ color: oklch(57.0% 0.164 144.8);
Tailwind
colors: {
  custom: {
    50: '#70b16d',
    500: '#228f30',
    950: '#000000',
  },
}
SCSS
$custom: #228f30;
$custom-light: #70b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#228f30",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 127.706,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.164,
    "h": 144.8
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#228F30
secondary
#BA52AD
accent
#43D0E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #228F30

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

Preview Lab → · Contrast checker → · Palette generator →

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