#227C24#227C24

#227C24 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.149 H 143.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#227C24
RGBrgb(34, 124, 36)
HSLhsl(121, 57%, 31%)
HSVhsv(121, 73%, 49%)
CMYKcmyk(72.6%, 0%, 71%, 51.4%)
CIE-LABlab(45.47, -44.16, 38.90)
CIE-LCHlch(45.47, 58.85, 138.63°)
OKLaboklab(51.54% -0.1198 0.0893)
OKLCHoklch(51.54% 0.149 143.3)
XYZxyz(8.1853, 14.8819, 4.1098)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C24 #7C227A
analogous
#4D7C22 #227C24 #227C51
triadic
#227C24 #24227C #7C2422
tetradic
#227C24 #224D7C #7C227A #7C5122
square
#227C24 #224D7C #7C227A #7C5122
split-complementary
#227C24 #51227C #7C224D
monochromatic
#081C08 #154C16 #227C24 #2FAC32 #4BCE4E

Accessibility & contrast

On white

5.28
#227C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#227C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C24
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C24#FFFFFF#000000##FFFFFF
##227C241.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7017
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#05786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c24;
/* rgb */ color: rgb(34, 124, 36);
/* oklch */ color: oklch(51.5% 0.149 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ca364',
    500: '#227c24',
    950: '#000000',
  },
}
SCSS
$custom: #227c24;
$custom-light: #6ca364;
$custom-dark: #000000;
JSON
{
  "hex": "#227c24",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 121.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.14941,
    "h": 143.3
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

primary
#227C24
secondary
#AF4BAC
accent
#48DDE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227C24

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

Preview Lab → · Contrast checker → · Palette generator →

#227C24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva