#228337#228337

#228337 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.143 H 146.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#228337
RGBrgb(34, 131, 55)
HSLhsl(133, 59%, 32%)
HSVhsv(133, 74%, 51%)
CMYKcmyk(74%, 0%, 58%, 48.6%)
CIE-LABlab(48.07, -44.40, 32.83)
CIE-LCHlch(48.07, 55.22, 143.52°)
OKLaboklab(53.75% -0.1196 0.0782)
OKLCHoklch(53.75% 0.143 146.8)
XYZxyz(9.4649, 16.8475, 6.3668)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228337 #83226E
analogous
#3D8322 #228337 #228368
triadic
#228337 #372283 #833722
tetradic
#228337 #223D83 #83226E #836822
square
#228337 #223D83 #83226E #836822
split-complementary
#228337 #682283 #83223D
monochromatic
#09220E #155223 #228337 #2FB44B #4ED16B

Accessibility & contrast

On white

4.81
#228337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#228337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228337
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228337#FFFFFF#000000##FFFFFF
##2283371.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228337;
/* rgb */ color: rgb(34, 131, 55);
/* oklch */ color: oklch(53.7% 0.143 146.8);
Tailwind
colors: {
  custom: {
    50: '#6ca870',
    500: '#228337',
    950: '#000000',
  },
}
SCSS
$custom: #228337;
$custom-light: #6ca870;
$custom-dark: #000000;
JSON
{
  "hex": "#228337",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 132.99,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.14293,
    "h": 146.8
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#228337
secondary
#B44C9E
accent
#46C0E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228337

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

Preview Lab → · Contrast checker → · Palette generator →

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