#228338#228338

#228338 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.142 H 147.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#228338
RGBrgb(34, 131, 56)
HSLhsl(134, 59%, 32%)
HSVhsv(134, 74%, 51%)
CMYKcmyk(74%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.08, -44.25, 32.34)
CIE-LCHlch(48.08, 54.81, 143.84°)
OKLaboklab(53.76% -0.1192 0.0772)
OKLCHoklch(53.76% 0.142 147.1)
XYZxyz(9.4891, 16.8571, 6.4943)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228338 #83226D
analogous
#3D8322 #228338 #228368
triadic
#228338 #382283 #833822
tetradic
#228338 #223D83 #83226D #836822
square
#228338 #223D83 #83226D #836822
split-complementary
#228338 #682283 #83223D
monochromatic
#09220E #155223 #228338 #2FB44D #4ED16C

Accessibility & contrast

On white

4.80
#228338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228338
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228338#FFFFFF#000000##FFFFFF
##2283381.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228338;
/* rgb */ color: rgb(34, 131, 56);
/* oklch */ color: oklch(53.8% 0.142 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ca871',
    500: '#228338',
    950: '#000000',
  },
}
SCSS
$custom: #228338;
$custom-light: #6ca871;
$custom-dark: #000000;
JSON
{
  "hex": "#228338",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 133.608,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.14203,
    "h": 147.1
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#228338
secondary
#B44C9D
accent
#46BFE2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228338

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

Preview Lab → · Contrast checker → · Palette generator →

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