#228750#228750

#228750 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.125 H 154.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#228750
RGBrgb(34, 135, 80)
HSLhsl(147, 60%, 33%)
HSVhsv(147, 75%, 53%)
CMYKcmyk(74.8%, 0%, 40.7%, 47.1%)
CIE-LABlab(49.79, -41.63, 21.60)
CIE-LCHlch(49.79, 46.90, 152.58°)
OKLaboklab(55.3% -0.1123 0.0538)
OKLCHoklch(55.3% 0.125 154.4)
XYZxyz(10.7706, 18.2460, 10.5420)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228750 #872259
analogous
#268722 #228750 #228782
triadic
#228750 #502287 #875022
tetradic
#228750 #222687 #872259 #878222
square
#228750 #222687 #872259 #878222
split-complementary
#228750 #822287 #872226
monochromatic
#092516 #165633 #228750 #2EB86D #50D38C

Accessibility & contrast

On white

4.52
#228750 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#228750 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228750
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228750#FFFFFF#000000##000000
##2287501.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4C
Deuteranopia (green-blind)
#7A7354
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228750;
/* rgb */ color: rgb(34, 135, 80);
/* oklch */ color: oklch(55.3% 0.125 154.4);
Tailwind
colors: {
  custom: {
    50: '#6dab81',
    500: '#228750',
    950: '#000000',
  },
}
SCSS
$custom: #228750;
$custom-light: #6dab81;
$custom-dark: #000000;
JSON
{
  "hex": "#228750",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 80
  },
  "hsl": {
    "h": 147.327,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.12454,
    "h": 154.4
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#228750
secondary
#B74E87
accent
#459BE3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228750

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

Preview Lab → · Contrast checker → · Palette generator →

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