#227124#227124

#227124 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.135 H 143.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#227124
RGBrgb(34, 113, 36)
HSLhsl(122, 54%, 29%)
HSVhsv(122, 70%, 44%)
CMYKcmyk(69.9%, 0%, 68.1%, 55.7%)
CIE-LABlab(41.65, -40.10, 34.76)
CIE-LCHlch(41.65, 53.07, 139.08°)
OKLaboklab(48.37% -0.1088 0.0806)
OKLCHoklch(48.37% 0.135 143.5)
XYZxyz(6.8828, 12.2770, 3.6757)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227124 #71226F
analogous
#487122 #227124 #22714C
triadic
#227124 #242271 #712422
tetradic
#227124 #224871 #71226F #714C22
square
#227124 #224871 #71226F #714C22
split-complementary
#227124 #4C2271 #712248
monochromatic
#071807 #144215 #227124 #30A033 #46C749

Accessibility & contrast

On white

6.08
#227124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#227124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227124
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227124#FFFFFF#000000##FFFFFF
##2271241.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661A
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#0E6E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227124;
/* rgb */ color: rgb(34, 113, 36);
/* oklch */ color: oklch(48.4% 0.135 143.5);
Tailwind
colors: {
  custom: {
    50: '#699b62',
    500: '#227124',
    950: '#000000',
  },
}
SCSS
$custom: #227124;
$custom-light: #699b62;
$custom-dark: #000000;
JSON
{
  "hex": "#227124",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 121.519,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.13536,
    "h": 143.5
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#227124
secondary
#A44AA2
accent
#4BD9DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #227124

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

Preview Lab → · Contrast checker → · Palette generator →

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