#227C29#227C29

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

Color values

HEX#227C29
RGBrgb(34, 124, 41)
HSLhsl(125, 57%, 31%)
HSVhsv(125, 73%, 49%)
CMYKcmyk(72.6%, 0%, 66.9%, 51.4%)
CIE-LABlab(45.52, -43.63, 36.71)
CIE-LCHlch(45.52, 57.02, 139.92°)
OKLaboklab(51.59% -0.1181 0.0853)
OKLCHoklch(51.59% 0.146 144.2)
XYZxyz(8.2670, 14.9146, 4.5405)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C29 #7C2275
analogous
#487C22 #227C29 #227C56
triadic
#227C29 #29227C #7C2922
tetradic
#227C29 #22487C #7C2275 #7C5622
square
#227C29 #22487C #7C2275 #7C5622
split-complementary
#227C29 #56227C #7C2248
monochromatic
#081C09 #154C19 #227C29 #2FAC39 #4BCE55

Accessibility & contrast

On white

5.27
#227C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227C29
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C29#FFFFFF#000000##FFFFFF
##227C291.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#02796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c29;
/* rgb */ color: rgb(34, 124, 41);
/* oklch */ color: oklch(51.6% 0.146 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ba367',
    500: '#227c29',
    950: '#000000',
  },
}
SCSS
$custom: #227c29;
$custom-light: #6ba367;
$custom-dark: #000000;
JSON
{
  "hex": "#227c29",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 124.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51587,
    "c": 0.14565,
    "h": 144.2
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#227C29
secondary
#AF4BA7
accent
#48D4E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227C29

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

Preview Lab → · Contrast checker → · Palette generator →

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