#228538#228538

#228538 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.145 H 146.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#228538
RGBrgb(34, 133, 56)
HSLhsl(133, 59%, 33%)
HSVhsv(133, 74%, 52%)
CMYKcmyk(74.4%, 0%, 57.9%, 47.8%)
CIE-LABlab(48.76, -44.99, 33.15)
CIE-LCHlch(48.76, 55.89, 143.62°)
OKLaboklab(54.33% -0.1212 0.079)
OKLCHoklch(54.33% 0.145 146.9)
XYZxyz(9.7603, 17.3996, 6.5847)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228538 #85226F
analogous
#3E8522 #228538 #228569
triadic
#228538 #382285 #853822
tetradic
#228538 #223E85 #85226F #856922
square
#228538 #223E85 #85226F #856922
split-complementary
#228538 #692285 #85223E
monochromatic
#09240F #165423 #228538 #2EB64D #4FD26C

Accessibility & contrast

On white

4.69
#228538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#228538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228538
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228538#FFFFFF#000000##FFFFFF
##2285381.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#7B713E
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228538;
/* rgb */ color: rgb(34, 133, 56);
/* oklch */ color: oklch(54.3% 0.145 146.9);
Tailwind
colors: {
  custom: {
    50: '#6da971',
    500: '#228538',
    950: '#000000',
  },
}
SCSS
$custom: #228538;
$custom-light: #6da971;
$custom-dark: #000000;
JSON
{
  "hex": "#228538",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 133.333,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54326,
    "c": 0.14468,
    "h": 146.9
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#228538
secondary
#B64D9E
accent
#45C0E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228538

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

Preview Lab → · Contrast checker → · Palette generator →

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