#227423#227423

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

Color values

HEX#227423
RGBrgb(34, 116, 35)
HSLhsl(121, 55%, 29%)
HSVhsv(121, 71%, 45%)
CMYKcmyk(70.7%, 0%, 69.8%, 54.5%)
CIE-LABlab(42.69, -41.34, 36.35)
CIE-LCHlch(42.69, 55.05, 138.67°)
OKLaboklab(49.23% -0.1122 0.0838)
OKLCHoklch(49.23% 0.14 143.2)
XYZxyz(7.2080, 12.9515, 3.7098)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227423 #742273
analogous
#4A7422 #227423 #22744C
triadic
#227423 #232274 #742322
tetradic
#227423 #224A74 #742273 #744C22
square
#227423 #224A74 #742273 #744C22
split-complementary
#227423 #4C2274 #74224A
monochromatic
#071807 #144515 #227423 #30A331 #47C949

Accessibility & contrast

On white

5.85
#227423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#227423 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227423
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227423#FFFFFF#000000##FFFFFF
##2274231.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776918
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#0C7163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227423;
/* rgb */ color: rgb(34, 116, 35);
/* oklch */ color: oklch(49.2% 0.140 143.2);
Tailwind
colors: {
  custom: {
    50: '#6a9d62',
    500: '#227423',
    950: '#000000',
  },
}
SCSS
$custom: #227423;
$custom-light: #6a9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#227423",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 35
  },
  "hsl": {
    "h": 120.732,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.14002,
    "h": 143.2
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#227423
secondary
#A74BA6
accent
#4ADCDE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #227423

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

Preview Lab → · Contrast checker → · Palette generator →

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