#228738#228738

#228738 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.147 H 146.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#228738
RGBrgb(34, 135, 56)
HSLhsl(133, 60%, 33%)
HSVhsv(133, 75%, 53%)
CMYKcmyk(74.8%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.44, -45.73, 33.96)
CIE-LCHlch(49.44, 56.96, 143.40°)
OKLaboklab(54.89% -0.1232 0.0808)
OKLCHoklch(54.89% 0.147 146.8)
XYZxyz(10.0367, 17.9524, 6.6768)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228738 #872271
analogous
#3F8722 #228738 #22876A
triadic
#228738 #382287 #873822
tetradic
#228738 #223F87 #872271 #876A22
square
#228738 #223F87 #872271 #876A22
split-complementary
#228738 #6A2287 #87223F
monochromatic
#09250F #165624 #228738 #2EB84C #50D36D

Accessibility & contrast

On white

4.57
#228738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#228738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228738
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228738#FFFFFF#000000##000000
##2287381.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A30
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228738;
/* rgb */ color: rgb(34, 135, 56);
/* oklch */ color: oklch(54.9% 0.147 146.8);
Tailwind
colors: {
  custom: {
    50: '#6dab71',
    500: '#228738',
    950: '#000000',
  },
}
SCSS
$custom: #228738;
$custom-light: #6dab71;
$custom-dark: #000000;
JSON
{
  "hex": "#228738",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 133.069,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.14731,
    "h": 146.8
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#228738
secondary
#B74EA0
accent
#45C0E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228738

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

Preview Lab → · Contrast checker → · Palette generator →

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