#227C23#227C23

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

Color values

HEX#227C23
RGBrgb(34, 124, 35)
HSLhsl(121, 57%, 31%)
HSVhsv(121, 73%, 49%)
CMYKcmyk(72.6%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.46, -44.26, 39.32)
CIE-LCHlch(45.46, 59.20, 138.39°)
OKLaboklab(51.53% -0.1201 0.09)
OKLCHoklch(51.53% 0.15 143.1)
XYZxyz(8.1702, 14.8758, 4.0305)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C23 #7C227B
analogous
#4E7C22 #227C23 #227C50
triadic
#227C23 #23227C #7C2322
tetradic
#227C23 #224E7C #7C227B #7C5022
square
#227C23 #224E7C #7C227B #7C5022
split-complementary
#227C23 #50227C #7C224E
monochromatic
#081C08 #154C15 #227C23 #2FAC31 #4BCE4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C23#FFFFFF#000000##FFFFFF
##227C231.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)
#7F7016
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#05786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c23;
/* rgb */ color: rgb(34, 124, 35);
/* oklch */ color: oklch(51.5% 0.150 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ca363',
    500: '#227c23',
    950: '#000000',
  },
}
SCSS
$custom: #227c23;
$custom-light: #6ca363;
$custom-dark: #000000;
JSON
{
  "hex": "#227c23",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 120.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.15012,
    "h": 143.1
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#227C23
secondary
#AF4BAE
accent
#48DFE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #227C23

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

Preview Lab → · Contrast checker → · Palette generator →

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