#228745#228745

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

Color values

HEX#228745
RGBrgb(34, 135, 69)
HSLhsl(141, 60%, 33%)
HSVhsv(141, 75%, 53%)
CMYKcmyk(74.8%, 0%, 48.9%, 47.1%)
CIE-LABlab(49.61, -43.69, 27.40)
CIE-LCHlch(49.61, 51.57, 147.90°)
OKLaboklab(55.09% -0.1175 0.0669)
OKLCHoklch(55.09% 0.135 150.3)
XYZxyz(10.3970, 18.0965, 8.5741)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228745 #872264
analogous
#318722 #228745 #228777
triadic
#228745 #452287 #874522
tetradic
#228745 #223187 #872264 #877722
square
#228745 #223187 #872264 #877722
split-complementary
#228745 #772287 #872231
monochromatic
#092513 #16562C #228745 #2EB85E #50D37E

Accessibility & contrast

On white

4.55
#228745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#228745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228745
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228745#FFFFFF#000000##000000
##2287451.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#7C734A
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228745;
/* rgb */ color: rgb(34, 135, 69);
/* oklch */ color: oklch(55.1% 0.135 150.3);
Tailwind
colors: {
  custom: {
    50: '#6dab7a',
    500: '#228745',
    950: '#000000',
  },
}
SCSS
$custom: #228745;
$custom-light: #6dab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228745",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 69
  },
  "hsl": {
    "h": 140.792,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.13525,
    "h": 150.3
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#228745
secondary
#B74E92
accent
#45ACE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228745

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

Preview Lab → · Contrast checker → · Palette generator →

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