#228339#228339

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

Color values

HEX#228339
RGBrgb(34, 131, 57)
HSLhsl(134, 59%, 32%)
HSVhsv(134, 74%, 51%)
CMYKcmyk(74%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.09, -44.11, 31.84)
CIE-LCHlch(48.09, 54.40, 144.17°)
OKLaboklab(53.78% -0.1188 0.0762)
OKLCHoklch(53.78% 0.141 147.3)
XYZxyz(9.5138, 16.8670, 6.6244)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228339 #83226C
analogous
#3B8322 #228339 #22836A
triadic
#228339 #392283 #833922
tetradic
#228339 #223B83 #83226C #836A22
square
#228339 #223B83 #83226C #836A22
split-complementary
#228339 #6A2283 #83223B
monochromatic
#09220F #155224 #228339 #2FB44E #4ED16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228339#FFFFFF#000000##FFFFFF
##2283391.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)
#857732
Deuteranopia (green-blind)
#796F3F
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228339;
/* rgb */ color: rgb(34, 131, 57);
/* oklch */ color: oklch(53.8% 0.141 147.3);
Tailwind
colors: {
  custom: {
    50: '#6ca871',
    500: '#228339',
    950: '#000000',
  },
}
SCSS
$custom: #228339;
$custom-light: #6ca871;
$custom-dark: #000000;
JSON
{
  "hex": "#228339",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 134.227,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.14112,
    "h": 147.3
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#228339
secondary
#B44C9C
accent
#46BDE2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228339

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

Preview Lab → · Contrast checker → · Palette generator →

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