#228142#228142

#228142 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.130 H 150.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228142
RGBrgb(34, 129, 66)
HSLhsl(140, 58%, 32%)
HSVhsv(140, 74%, 51%)
CMYKcmyk(73.6%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.54, -41.89, 26.40)
CIE-LCHlch(47.54, 49.51, 147.78°)
OKLaboklab(53.36% -0.1127 0.0645)
OKLCHoklch(53.36% 0.13 150.2)
XYZxyz(9.4925, 16.4329, 7.8248)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228142 #812261
analogous
#318122 #228142 #228172
triadic
#228142 #422281 #814222
tetradic
#228142 #223181 #812261 #817222
square
#228142 #223181 #812261 #817222
split-complementary
#228142 #722281 #812231
monochromatic
#082010 #155129 #228142 #2FB15B #4DD079

Accessibility & contrast

On white

4.90
#228142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#228142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228142
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228142#FFFFFF#000000##FFFFFF
##2281421.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#766E46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228142;
/* rgb */ color: rgb(34, 129, 66);
/* oklch */ color: oklch(53.4% 0.130 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ba677',
    500: '#228142',
    950: '#000000',
  },
}
SCSS
$custom: #228142;
$custom-light: #6ba677;
$custom-dark: #000000;
JSON
{
  "hex": "#228142",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 140.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.12989,
    "h": 150.2
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#228142
secondary
#B34B90
accent
#46ADE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228142

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

Preview Lab → · Contrast checker → · Palette generator →

#228142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva