#227F29#227F29

#227F29 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.149 H 144.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#227F29
RGBrgb(34, 127, 41)
HSLhsl(125, 58%, 32%)
HSVhsv(125, 73%, 50%)
CMYKcmyk(73.2%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.55, -44.72, 37.85)
CIE-LCHlch(46.55, 58.58, 139.76°)
OKLaboklab(52.44% -0.121 0.0877)
OKLCHoklch(52.44% 0.149 144.1)
XYZxyz(8.6487, 15.6780, 4.6677)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F29 #7F2278
analogous
#4A7F22 #227F29 #227F58
triadic
#227F29 #29227F #7F2922
tetradic
#227F29 #224A7F #7F2278 #7F5822
square
#227F29 #224A7F #7F2278 #7F5822
split-complementary
#227F29 #58227F #7F224A
monochromatic
#081E0A #154F19 #227F29 #2FAF39 #4CCF56

Accessibility & contrast

On white

5.08
#227F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#227F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F29
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F29#FFFFFF#000000##FFFFFF
##227F291.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731E
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227f29;
/* rgb */ color: rgb(34, 127, 41);
/* oklch */ color: oklch(52.4% 0.149 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ca567',
    500: '#227f29',
    950: '#000000',
  },
}
SCSS
$custom: #227f29;
$custom-light: #6ca567;
$custom-dark: #000000;
JSON
{
  "hex": "#227f29",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 124.516,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.14946,
    "h": 144.1
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#227F29
secondary
#B24BAA
accent
#47D5E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227F29

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

Preview Lab → · Contrast checker → · Palette generator →

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