#228331#228331

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

Color values

HEX#228331
RGBrgb(34, 131, 49)
HSLhsl(129, 59%, 32%)
HSVhsv(129, 74%, 51%)
CMYKcmyk(74%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.00, -45.21, 35.72)
CIE-LCHlch(48.00, 57.62, 141.69°)
OKLaboklab(53.67% -0.122 0.084)
OKLCHoklch(53.67% 0.148 145.5)
XYZxyz(9.3297, 16.7934, 5.6549)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228331 #832274
analogous
#448322 #228331 #228361
triadic
#228331 #312283 #833122
tetradic
#228331 #224483 #832274 #836122
square
#228331 #224483 #832274 #836122
split-complementary
#228331 #612283 #832244
monochromatic
#09220D #15521F #228331 #2FB443 #4ED163

Accessibility & contrast

On white

4.82
#228331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228331
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228331#FFFFFF#000000##FFFFFF
##2283311.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228331;
/* rgb */ color: rgb(34, 131, 49);
/* oklch */ color: oklch(53.7% 0.148 145.5);
Tailwind
colors: {
  custom: {
    50: '#6da86c',
    500: '#228331',
    950: '#000000',
  },
}
SCSS
$custom: #228331;
$custom-light: #6da86c;
$custom-dark: #000000;
JSON
{
  "hex": "#228331",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 129.278,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.14813,
    "h": 145.5
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#228331
secondary
#B44CA4
accent
#46CAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228331

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

Preview Lab → · Contrast checker → · Palette generator →

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