#228333#228333

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

Color values

HEX#228333
RGBrgb(34, 131, 51)
HSLhsl(131, 59%, 32%)
HSVhsv(131, 74%, 51%)
CMYKcmyk(74%, 0%, 61.1%, 48.6%)
CIE-LABlab(48.02, -44.95, 34.77)
CIE-LCHlch(48.02, 56.83, 142.27°)
OKLaboklab(53.7% -0.1212 0.0821)
OKLCHoklch(53.7% 0.146 145.9)
XYZxyz(9.3729, 16.8106, 5.8821)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228333 #832272
analogous
#428322 #228333 #228363
triadic
#228333 #332283 #833322
tetradic
#228333 #224283 #832272 #836322
square
#228333 #224283 #832272 #836322
split-complementary
#228333 #632283 #832242
monochromatic
#09220D #155220 #228333 #2FB446 #4ED165

Accessibility & contrast

On white

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

On black

4.36
#228333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228333#FFFFFF#000000##FFFFFF
##2283331.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772B
Deuteranopia (green-blind)
#7A6F3A
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228333;
/* rgb */ color: rgb(34, 131, 51);
/* oklch */ color: oklch(53.7% 0.146 145.9);
Tailwind
colors: {
  custom: {
    50: '#6da86d',
    500: '#228333',
    950: '#000000',
  },
}
SCSS
$custom: #228333;
$custom-light: #6da86d;
$custom-dark: #000000;
JSON
{
  "hex": "#228333",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 51
  },
  "hsl": {
    "h": 130.515,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.14644,
    "h": 145.9
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#228333
secondary
#B44CA2
accent
#46C7E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228333

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

Preview Lab → · Contrast checker → · Palette generator →

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