#228640#228640

#228640 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.139 H 148.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228640
RGBrgb(34, 134, 64)
HSLhsl(138, 60%, 33%)
HSVhsv(138, 75%, 53%)
CMYKcmyk(74.6%, 0%, 52.2%, 47.5%)
CIE-LABlab(49.20, -44.15, 29.55)
CIE-LCHlch(49.20, 53.13, 146.20°)
OKLaboklab(54.73% -0.1188 0.0715)
OKLCHoklch(54.73% 0.139 148.9)
XYZxyz(10.1094, 17.7593, 7.7446)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228640 #862268
analogous
#368622 #228640 #228672
triadic
#228640 #402286 #864022
tetradic
#228640 #223686 #862268 #867222
square
#228640 #223686 #862268 #867222
split-complementary
#228640 #722286 #862236
monochromatic
#092411 #165529 #228640 #2EB757 #50D377

Accessibility & contrast

On white

4.61
#228640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#228640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228640
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228640#FFFFFF#000000##FFFFFF
##2286401.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#7B7245
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228640;
/* rgb */ color: rgb(34, 134, 64);
/* oklch */ color: oklch(54.7% 0.139 148.9);
Tailwind
colors: {
  custom: {
    50: '#6daa76',
    500: '#228640',
    950: '#000000',
  },
}
SCSS
$custom: #228640;
$custom-light: #6daa76;
$custom-dark: #000000;
JSON
{
  "hex": "#228640",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 138,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.13866,
    "h": 148.9
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#228640
secondary
#B64E97
accent
#45B3E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228640

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

Preview Lab → · Contrast checker → · Palette generator →

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