#227C26#227C26

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

Color values

HEX#227C26
RGBrgb(34, 124, 38)
HSLhsl(123, 57%, 31%)
HSVhsv(123, 73%, 49%)
CMYKcmyk(72.6%, 0%, 69.4%, 51.4%)
CIE-LABlab(45.49, -43.96, 38.04)
CIE-LCHlch(45.49, 58.13, 139.13°)
OKLaboklab(51.56% -0.1191 0.0877)
OKLCHoklch(51.56% 0.148 143.6)
XYZxyz(8.2167, 14.8944, 4.2752)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C26 #7C2278
analogous
#4B7C22 #227C26 #227C53
triadic
#227C26 #26227C #7C2622
tetradic
#227C26 #224B7C #7C2278 #7C5322
square
#227C26 #224B7C #7C2278 #7C5322
split-complementary
#227C26 #53227C #7C224B
monochromatic
#081C09 #154C17 #227C26 #2FAC35 #4BCE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C26#FFFFFF#000000##FFFFFF
##227C261.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)
#7F701A
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#04786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c26;
/* rgb */ color: rgb(34, 124, 38);
/* oklch */ color: oklch(51.6% 0.148 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ba365',
    500: '#227c26',
    950: '#000000',
  },
}
SCSS
$custom: #227c26;
$custom-light: #6ba365;
$custom-dark: #000000;
JSON
{
  "hex": "#227c26",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 122.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.14795,
    "h": 143.6
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

primary
#227C26
secondary
#AF4BAA
accent
#48D9E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227C26

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

Preview Lab → · Contrast checker → · Palette generator →

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