#228E35#228E35

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

Color values

HEX#228E35
RGBrgb(34, 142, 53)
HSLhsl(131, 61%, 35%)
HSVhsv(131, 76%, 56%)
CMYKcmyk(76.1%, 0%, 62.7%, 44.3%)
CIE-LABlab(51.77, -48.64, 38.13)
CIE-LCHlch(51.77, 61.81, 141.91°)
OKLaboklab(56.81% -0.1312 0.0895)
OKLCHoklch(56.81% 0.159 145.7)
XYZxyz(10.9745, 19.9419, 6.6383)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E35 #8E227B
analogous
#458E22 #228E35 #228E6B
triadic
#228E35 #35228E #8E3522
tetradic
#228E35 #22458E #8E227B #8E6B22
square
#228E35 #22458E #8E227B #8E6B22
split-complementary
#228E35 #6B228E #8E2245
monochromatic
#0A2B10 #165D23 #228E35 #2EBF47 #54D66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E35#FFFFFF#000000##000000
##228E351.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)
#90812B
Deuteranopia (green-blind)
#84783C
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e35;
/* rgb */ color: rgb(34, 142, 53);
/* oklch */ color: oklch(56.8% 0.159 145.7);
Tailwind
colors: {
  custom: {
    50: '#6fb070',
    500: '#228e35',
    950: '#000000',
  },
}
SCSS
$custom: #228e35;
$custom-light: #6fb070;
$custom-dark: #000000;
JSON
{
  "hex": "#228e35",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 53
  },
  "hsl": {
    "h": 130.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.15882,
    "h": 145.7
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#228E35
secondary
#BA52A8
accent
#43C8E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E35

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

Preview Lab → · Contrast checker → · Palette generator →

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