#227B24#227B24

#227B24 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.148 H 143.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#227B24
RGBrgb(34, 123, 36)
HSLhsl(121, 57%, 31%)
HSVhsv(121, 72%, 48%)
CMYKcmyk(72.4%, 0%, 70.7%, 51.8%)
CIE-LABlab(45.13, -43.80, 38.53)
CIE-LCHlch(45.13, 58.34, 138.67°)
OKLaboklab(51.25% -0.1188 0.0885)
OKLCHoklch(51.25% 0.148 143.3)
XYZxyz(8.0606, 14.6325, 4.0683)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B24 #7B2279
analogous
#4C7B22 #227B24 #227B50
triadic
#227B24 #24227B #7B2422
tetradic
#227B24 #224C7B #7B2279 #7B5022
square
#227B24 #224C7B #7B2279 #7B5022
split-complementary
#227B24 #50227B #7B224C
monochromatic
#071B08 #154B16 #227B24 #2FAB32 #4ACD4D

Accessibility & contrast

On white

5.35
#227B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#227B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B24
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B24#FFFFFF#000000##FFFFFF
##227B241.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F18
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#067769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b24;
/* rgb */ color: rgb(34, 123, 36);
/* oklch */ color: oklch(51.2% 0.148 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ba264',
    500: '#227b24',
    950: '#000000',
  },
}
SCSS
$custom: #227b24;
$custom-light: #6ba264;
$custom-dark: #000000;
JSON
{
  "hex": "#227b24",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 121.348,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.14816,
    "h": 143.3
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227B24

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

Preview Lab → · Contrast checker → · Palette generator →

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