#228F38#228F38

#228F38 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.158 H 146.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#228F38
RGBrgb(34, 143, 56)
HSLhsl(132, 62%, 35%)
HSVhsv(132, 76%, 56%)
CMYKcmyk(76.2%, 0%, 60.8%, 43.9%)
CIE-LABlab(52.14, -48.61, 37.12)
CIE-LCHlch(52.14, 61.17, 142.63°)
OKLaboklab(57.13% -0.131 0.0876)
OKLCHoklch(57.13% 0.158 146.2)
XYZxyz(11.1951, 20.2692, 7.0630)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F38 #8F2279
analogous
#438F22 #228F38 #228F6F
triadic
#228F38 #38228F #8F3822
tetradic
#228F38 #22438F #8F2279 #8F6F22
square
#228F38 #22438F #8F2279 #8F6F22
split-complementary
#228F38 #6F228F #8F2243
monochromatic
#0A2C11 #165E25 #228F38 #2EC04B #55D76F

Accessibility & contrast

On white

4.15
#228F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#228F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F38
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F38#FFFFFF#000000##000000
##228F381.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822F
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f38;
/* rgb */ color: rgb(34, 143, 56);
/* oklch */ color: oklch(57.1% 0.158 146.2);
Tailwind
colors: {
  custom: {
    50: '#6fb172',
    500: '#228f38',
    950: '#000000',
  },
}
SCSS
$custom: #228f38;
$custom-light: #6fb172;
$custom-dark: #000000;
JSON
{
  "hex": "#228f38",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 132.11,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.15759,
    "h": 146.2
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#228F38
secondary
#BA52A5
accent
#43C4E5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228F38

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

Preview Lab → · Contrast checker → · Palette generator →

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