#227835#227835

#227835 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.130 H 147.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#227835
RGBrgb(34, 120, 53)
HSLhsl(133, 56%, 30%)
HSVhsv(133, 72%, 47%)
CMYKcmyk(71.7%, 0%, 55.8%, 52.9%)
CIE-LABlab(44.27, -40.52, 29.31)
CIE-LCHlch(44.27, 50.01, 144.12°)
OKLaboklab(50.6% -0.1092 0.0703)
OKLCHoklch(50.6% 0.13 147.2)
XYZxyz(8.0182, 14.0292, 5.6528)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227835 #782265
analogous
#3A7822 #227835 #227860
triadic
#227835 #352278 #783522
tetradic
#227835 #223A78 #782265 #786022
square
#227835 #223A78 #782265 #786022
split-complementary
#227835 #602278 #78223A
monochromatic
#07190B #144820 #227835 #30A84A #49CB66

Accessibility & contrast

On white

5.52
#227835 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#227835 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227835
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227835#FFFFFF#000000##FFFFFF
##2278351.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2F
Deuteranopia (green-blind)
#6F663A
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227835;
/* rgb */ color: rgb(34, 120, 53);
/* oklch */ color: oklch(50.6% 0.130 147.2);
Tailwind
colors: {
  custom: {
    50: '#6aa06e',
    500: '#227835',
    950: '#000000',
  },
}
SCSS
$custom: #227835;
$custom-light: #6aa06e;
$custom-dark: #000000;
JSON
{
  "hex": "#227835",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 53
  },
  "hsl": {
    "h": 133.256,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.12991,
    "h": 147.2
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#227835
secondary
#AB4B96
accent
#49BEDF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227835

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

Preview Lab → · Contrast checker → · Palette generator →

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