#228748#228748

#228748 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.132 H 151.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#228748
RGBrgb(34, 135, 72)
HSLhsl(143, 60%, 33%)
HSVhsv(143, 75%, 53%)
CMYKcmyk(74.8%, 0%, 46.7%, 47.1%)
CIE-LABlab(49.66, -43.16, 25.84)
CIE-LCHlch(49.66, 50.30, 149.09°)
OKLaboklab(55.14% -0.1161 0.0635)
OKLCHoklch(55.14% 0.132 151.3)
XYZxyz(10.4925, 18.1347, 9.0770)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228748 #872261
analogous
#2F8722 #228748 #22877A
triadic
#228748 #482287 #874822
tetradic
#228748 #222F87 #872261 #877A22
square
#228748 #222F87 #872261 #877A22
split-complementary
#228748 #7A2287 #87222F
monochromatic
#092514 #16562E #228748 #2EB862 #50D382

Accessibility & contrast

On white

4.54
#228748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#228748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228748
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228748#FFFFFF#000000##000000
##2287481.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B43
Deuteranopia (green-blind)
#7B734C
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228748;
/* rgb */ color: rgb(34, 135, 72);
/* oklch */ color: oklch(55.1% 0.132 151.3);
Tailwind
colors: {
  custom: {
    50: '#6dab7c',
    500: '#228748',
    950: '#000000',
  },
}
SCSS
$custom: #228748;
$custom-light: #6dab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#228748",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 72
  },
  "hsl": {
    "h": 142.574,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.13235,
    "h": 151.3
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#228748
secondary
#B74E8F
accent
#45A7E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228748

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

Preview Lab → · Contrast checker → · Palette generator →

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