#228E46#228E46

#228E46 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.144 H 149.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228E46
RGBrgb(34, 142, 70)
HSLhsl(140, 61%, 35%)
HSVhsv(140, 76%, 56%)
CMYKcmyk(76.1%, 0%, 50.7%, 44.3%)
CIE-LABlab(51.98, -46.17, 29.84)
CIE-LCHlch(51.98, 54.98, 147.12°)
OKLaboklab(57.05% -0.1241 0.0725)
OKLCHoklch(57.05% 0.144 149.7)
XYZxyz(11.4372, 20.1270, 9.0753)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E46 #8E226A
analogous
#348E22 #228E46 #228E7C
triadic
#228E46 #46228E #8E4622
tetradic
#228E46 #22348E #8E226A #8E7C22
square
#228E46 #22348E #8E226A #8E7C22
split-complementary
#228E46 #7C228E #8E2234
monochromatic
#0A2B15 #165D2E #228E46 #2EBF5E #54D680

Accessibility & contrast

On white

4.18
#228E46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#228E46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E46
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E46#FFFFFF#000000##000000
##228E461.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8140
Deuteranopia (green-blind)
#82784B
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e46;
/* rgb */ color: rgb(34, 142, 70);
/* oklch */ color: oklch(57.1% 0.144 149.7);
Tailwind
colors: {
  custom: {
    50: '#6eb07b',
    500: '#228e46',
    950: '#000000',
  },
}
SCSS
$custom: #228e46;
$custom-light: #6eb07b;
$custom-dark: #000000;
JSON
{
  "hex": "#228e46",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 70
  },
  "hsl": {
    "h": 140,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.14377,
    "h": 149.7
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#228E46
secondary
#BA5297
accent
#43AFE4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228E46

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

Preview Lab → · Contrast checker → · Palette generator →

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