#228245#228245

#228245 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.128 H 151.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228245
RGBrgb(34, 130, 69)
HSLhsl(142, 59%, 32%)
HSVhsv(142, 74%, 51%)
CMYKcmyk(73.8%, 0%, 46.9%, 49%)
CIE-LABlab(47.92, -41.75, 25.25)
CIE-LCHlch(47.92, 48.79, 148.83°)
OKLaboklab(53.69% -0.1124 0.062)
OKLCHoklch(53.69% 0.128 151.1)
XYZxyz(9.7157, 16.7339, 8.3470)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228245 #82225F
analogous
#2F8222 #228245 #228275
triadic
#228245 #452282 #824522
tetradic
#228245 #222F82 #82225F #827522
square
#228245 #222F82 #82225F #827522
split-complementary
#228245 #752282 #82222F
monochromatic
#092112 #15512B #228245 #2FB35F #4ED17D

Accessibility & contrast

On white

4.83
#228245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#228245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228245
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228245#FFFFFF#000000##FFFFFF
##2282451.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837740
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228245;
/* rgb */ color: rgb(34, 130, 69);
/* oklch */ color: oklch(53.7% 0.128 151.1);
Tailwind
colors: {
  custom: {
    50: '#6ca779',
    500: '#228245',
    950: '#000000',
  },
}
SCSS
$custom: #228245;
$custom-light: #6ca779;
$custom-dark: #000000;
JSON
{
  "hex": "#228245",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 141.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.12835,
    "h": 151.1
  },
  "luminance": 0.16735
}

Semantic roles & 50–950 ramp

primary
#228245
secondary
#B44C8E
accent
#46A9E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228245

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

Preview Lab → · Contrast checker → · Palette generator →

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