#227935#227935

#227935 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.131 H 147.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#227935
RGBrgb(34, 121, 53)
HSLhsl(133, 56%, 30%)
HSVhsv(133, 72%, 47%)
CMYKcmyk(71.9%, 0%, 56.2%, 52.5%)
CIE-LABlab(44.62, -40.90, 29.73)
CIE-LCHlch(44.62, 50.57, 143.99°)
OKLaboklab(50.89% -0.1103 0.0712)
OKLCHoklch(50.89% 0.131 147.1)
XYZxyz(8.1391, 14.2710, 5.6931)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227935 #792266
analogous
#3B7922 #227935 #227960
triadic
#227935 #352279 #793522
tetradic
#227935 #223B79 #792266 #796022
square
#227935 #223B79 #792266 #796022
split-complementary
#227935 #602279 #79223B
monochromatic
#07190B #154920 #227935 #2FA94A #49CC66

Accessibility & contrast

On white

5.45
#227935 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#227935 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227935
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227935#FFFFFF#000000##FFFFFF
##2279351.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2F
Deuteranopia (green-blind)
#70673A
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227935;
/* rgb */ color: rgb(34, 121, 53);
/* oklch */ color: oklch(50.9% 0.131 147.1);
Tailwind
colors: {
  custom: {
    50: '#6aa16e',
    500: '#227935',
    950: '#000000',
  },
}
SCSS
$custom: #227935;
$custom-light: #6aa16e;
$custom-dark: #000000;
JSON
{
  "hex": "#227935",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 53
  },
  "hsl": {
    "h": 133.103,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.13129,
    "h": 147.1
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#227935
secondary
#AC4B97
accent
#48BEDF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227935

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

Preview Lab → · Contrast checker → · Palette generator →

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