#228335#228335

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

Color values

HEX#228335
RGBrgb(34, 131, 53)
HSLhsl(132, 59%, 32%)
HSVhsv(132, 74%, 51%)
CMYKcmyk(74%, 0%, 59.5%, 48.6%)
CIE-LABlab(48.04, -44.68, 33.81)
CIE-LCHlch(48.04, 56.03, 142.88°)
OKLaboklab(53.72% -0.1204 0.0802)
OKLCHoklch(53.72% 0.145 146.3)
XYZxyz(9.4179, 16.8287, 6.1194)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228335 #832270
analogous
#3F8322 #228335 #228366
triadic
#228335 #352283 #833522
tetradic
#228335 #223F83 #832270 #836622
square
#228335 #223F83 #832270 #836622
split-complementary
#228335 #662283 #83223F
monochromatic
#09220E #155221 #228335 #2FB449 #4ED168

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228335#FFFFFF#000000##FFFFFF
##2283351.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228335;
/* rgb */ color: rgb(34, 131, 53);
/* oklch */ color: oklch(53.7% 0.145 146.3);
Tailwind
colors: {
  custom: {
    50: '#6ca86f',
    500: '#228335',
    950: '#000000',
  },
}
SCSS
$custom: #228335;
$custom-light: #6ca86f;
$custom-dark: #000000;
JSON
{
  "hex": "#228335",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 131.753,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.1447,
    "h": 146.3
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#228335
secondary
#B44CA0
accent
#46C3E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228335

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

Preview Lab → · Contrast checker → · Palette generator →

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