#227335#227335

#227335 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.123 H 147.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#227335
RGBrgb(34, 115, 53)
HSLhsl(134, 54%, 29%)
HSVhsv(134, 70%, 45%)
CMYKcmyk(70.4%, 0%, 53.9%, 54.9%)
CIE-LABlab(42.55, -38.55, 27.20)
CIE-LCHlch(42.55, 47.18, 144.79°)
OKLaboklab(49.18% -0.1039 0.0657)
OKLCHoklch(49.18% 0.123 147.7)
XYZxyz(7.4325, 12.8578, 5.4576)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227335 #732260
analogous
#387322 #227335 #22735E
triadic
#227335 #352273 #733522
tetradic
#227335 #223873 #732260 #735E22
square
#227335 #223873 #732260 #735E22
split-complementary
#227335 #5E2273 #732238
monochromatic
#07180B #14441F #227335 #30A24B #47C965

Accessibility & contrast

On white

5.88
#227335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#227335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227335
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227335#FFFFFF#000000##FFFFFF
##2273351.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746930
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#027165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227335;
/* rgb */ color: rgb(34, 115, 53);
/* oklch */ color: oklch(49.2% 0.123 147.7);
Tailwind
colors: {
  custom: {
    50: '#699c6e',
    500: '#227335',
    950: '#000000',
  },
}
SCSS
$custom: #227335;
$custom-light: #699c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#227335",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 53
  },
  "hsl": {
    "h": 134.074,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.12294,
    "h": 147.7
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#227335
secondary
#A64B91
accent
#4ABBDE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227335

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

Preview Lab → · Contrast checker → · Palette generator →

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