#228639#228639

#228639 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.145 H 147.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#228639
RGBrgb(34, 134, 57)
HSLhsl(134, 60%, 33%)
HSVhsv(134, 75%, 53%)
CMYKcmyk(74.6%, 0%, 57.5%, 47.5%)
CIE-LABlab(49.11, -45.22, 33.06)
CIE-LCHlch(49.11, 56.02, 143.83°)
OKLaboklab(54.62% -0.1218 0.0789)
OKLCHoklch(54.62% 0.145 147.1)
XYZxyz(9.9226, 17.6846, 6.7606)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228639 #86226F
analogous
#3D8622 #228639 #22866B
triadic
#228639 #392286 #863922
tetradic
#228639 #223D86 #86226F #866B22
square
#228639 #223D86 #86226F #866B22
split-complementary
#228639 #6B2286 #86223D
monochromatic
#09240F #165524 #228639 #2EB74E #50D36E

Accessibility & contrast

On white

4.63
#228639 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#228639 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228639
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228639#FFFFFF#000000##FFFFFF
##2286391.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A32
Deuteranopia (green-blind)
#7C723F
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228639;
/* rgb */ color: rgb(34, 134, 57);
/* oklch */ color: oklch(54.6% 0.145 147.1);
Tailwind
colors: {
  custom: {
    50: '#6daa71',
    500: '#228639',
    950: '#000000',
  },
}
SCSS
$custom: #228639;
$custom-light: #6daa71;
$custom-dark: #000000;
JSON
{
  "hex": "#228639",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 57
  },
  "hsl": {
    "h": 133.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.14511,
    "h": 147.1
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#228639
secondary
#B64E9E
accent
#45BEE3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228639

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

Preview Lab → · Contrast checker → · Palette generator →

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