#228045#228045

#228045 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.126 H 151.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228045
RGBrgb(34, 128, 69)
HSLhsl(142, 58%, 32%)
HSVhsv(142, 73%, 50%)
CMYKcmyk(73.4%, 0%, 46.1%, 49.8%)
CIE-LABlab(47.24, -40.96, 24.38)
CIE-LCHlch(47.24, 47.66, 149.24°)
OKLaboklab(53.13% -0.1103 0.06)
OKLCHoklch(53.13% 0.126 151.5)
XYZxyz(9.4522, 16.2070, 8.2592)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228045 #80225D
analogous
#2E8022 #228045 #228074
triadic
#228045 #452280 #804522
tetradic
#228045 #222E80 #80225D #807422
square
#228045 #222E80 #80225D #807422
split-complementary
#228045 #742280 #80222E
monochromatic
#081F11 #15502B #228045 #2FB05F #4DD07D

Accessibility & contrast

On white

4.95
#228045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#228045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228045
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228045#FFFFFF#000000##FFFFFF
##2280451.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807541
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228045;
/* rgb */ color: rgb(34, 128, 69);
/* oklch */ color: oklch(53.1% 0.126 151.5);
Tailwind
colors: {
  custom: {
    50: '#6ba679',
    500: '#228045',
    950: '#000000',
  },
}
SCSS
$custom: #228045;
$custom-light: #6ba679;
$custom-dark: #000000;
JSON
{
  "hex": "#228045",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 142.34,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.12555,
    "h": 151.5
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#228045
secondary
#B24B8C
accent
#47A8E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #228045

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

Preview Lab → · Contrast checker → · Palette generator →

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