#228751#228751

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

Color values

HEX#228751
RGBrgb(34, 135, 81)
HSLhsl(148, 60%, 33%)
HSVhsv(148, 75%, 53%)
CMYKcmyk(74.8%, 0%, 40%, 47.1%)
CIE-LABlab(49.81, -41.43, 21.06)
CIE-LCHlch(49.81, 46.48, 153.05°)
OKLaboklab(55.32% -0.1118 0.0526)
OKLCHoklch(55.32% 0.124 154.8)
XYZxyz(10.8079, 18.2609, 10.7381)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228751 #872258
analogous
#258722 #228751 #228783
triadic
#228751 #512287 #875122
tetradic
#228751 #222587 #872258 #878322
square
#228751 #222587 #872258 #878322
split-complementary
#228751 #832287 #872225
monochromatic
#092516 #165634 #228751 #2EB86E #50D38D

Accessibility & contrast

On white

4.51
#228751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228751#FFFFFF#000000##000000
##2287511.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228751;
/* rgb */ color: rgb(34, 135, 81);
/* oklch */ color: oklch(55.3% 0.124 154.8);
Tailwind
colors: {
  custom: {
    50: '#6dab82',
    500: '#228751',
    950: '#000000',
  },
}
SCSS
$custom: #228751;
$custom-light: #6dab82;
$custom-dark: #000000;
JSON
{
  "hex": "#228751",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 147.921,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55318,
    "c": 0.12356,
    "h": 154.8
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#228751
secondary
#B74E86
accent
#4599E3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228751

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

Preview Lab → · Contrast checker → · Palette generator →

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