#228145#228145

#228145 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.127 H 151.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#228145
RGBrgb(34, 129, 69)
HSLhsl(142, 58%, 32%)
HSVhsv(142, 74%, 51%)
CMYKcmyk(73.6%, 0%, 46.5%, 49.4%)
CIE-LABlab(47.58, -41.35, 24.82)
CIE-LCHlch(47.58, 48.23, 149.03°)
OKLaboklab(53.41% -0.1113 0.061)
OKLCHoklch(53.41% 0.127 151.3)
XYZxyz(9.5833, 16.4692, 8.3029)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228145 #81225E
analogous
#2F8122 #228145 #228175
triadic
#228145 #452281 #814522
tetradic
#228145 #222F81 #81225E #817522
square
#228145 #222F81 #81225E #817522
split-complementary
#228145 #752281 #81222F
monochromatic
#082011 #15512B #228145 #2FB15F #4DD07D

Accessibility & contrast

On white

4.89
#228145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228145
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228145#FFFFFF#000000##FFFFFF
##2281451.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817640
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228145;
/* rgb */ color: rgb(34, 129, 69);
/* oklch */ color: oklch(53.4% 0.127 151.3);
Tailwind
colors: {
  custom: {
    50: '#6ba679',
    500: '#228145',
    950: '#000000',
  },
}
SCSS
$custom: #228145;
$custom-light: #6ba679;
$custom-dark: #000000;
JSON
{
  "hex": "#228145",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 142.105,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.12695,
    "h": 151.3
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#228145
secondary
#B34B8D
accent
#46A8E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228145

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

Preview Lab → · Contrast checker → · Palette generator →

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