#227626#227626

#227626 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.140 H 143.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#227626
RGBrgb(34, 118, 38)
HSLhsl(123, 55%, 30%)
HSVhsv(123, 71%, 46%)
CMYKcmyk(71.2%, 0%, 67.8%, 53.7%)
CIE-LABlab(43.41, -41.75, 35.77)
CIE-LCHlch(43.41, 54.98, 139.41°)
OKLaboklab(49.84% -0.1132 0.0829)
OKLCHoklch(49.84% 0.14 143.8)
XYZxyz(7.4875, 13.4361, 4.0322)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227626 #762272
analogous
#487622 #227626 #227650
triadic
#227626 #262276 #762622
tetradic
#227626 #224876 #762272 #765022
square
#227626 #224876 #762272 #765022
split-complementary
#227626 #502276 #762248
monochromatic
#071808 #144617 #227626 #30A635 #48CA4E

Accessibility & contrast

On white

5.70
#227626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#227626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227626
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227626#FFFFFF#000000##FFFFFF
##2276261.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1C
Deuteranopia (green-blind)
#6E642D
Tritanopia (blue-blind)
#097365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227626;
/* rgb */ color: rgb(34, 118, 38);
/* oklch */ color: oklch(49.8% 0.140 143.8);
Tailwind
colors: {
  custom: {
    50: '#6a9e64',
    500: '#227626',
    950: '#000000',
  },
}
SCSS
$custom: #227626;
$custom-light: #6a9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#227626",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 122.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.14029,
    "h": 143.8
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#227626
secondary
#A94BA5
accent
#49D7DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227626

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

Preview Lab → · Contrast checker → · Palette generator →

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