#227040#227040

#227040 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.108 H 152.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#227040
RGBrgb(34, 112, 64)
HSLhsl(143, 53%, 29%)
HSVhsv(143, 70%, 44%)
CMYKcmyk(69.6%, 0%, 42.9%, 56.1%)
CIE-LABlab(41.69, -35.35, 19.97)
CIE-LCHlch(41.69, 40.60, 150.53°)
OKLaboklab(48.52% -0.0954 0.0496)
OKLCHoklch(48.52% 0.108 152.5)
XYZxyz(7.3787, 12.2978, 6.8343)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227040 #702252
analogous
#2B7022 #227040 #227067
triadic
#227040 #402270 #704022
tetradic
#227040 #222B70 #702252 #706722
square
#227040 #222B70 #702252 #706722
split-complementary
#227040 #672270 #70222B
monochromatic
#07170D #144125 #227040 #309F5B #46C777

Accessibility & contrast

On white

6.07
#227040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227040
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227040#FFFFFF#000000##FFFFFF
##2270401.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70673D
Deuteranopia (green-blind)
#666043
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227040;
/* rgb */ color: rgb(34, 112, 64);
/* oklch */ color: oklch(48.5% 0.108 152.5);
Tailwind
colors: {
  custom: {
    50: '#689a75',
    500: '#227040',
    950: '#000000',
  },
}
SCSS
$custom: #227040;
$custom-light: #689a75;
$custom-dark: #000000;
JSON
{
  "hex": "#227040",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 143.077,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.10754,
    "h": 152.5
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#227040
secondary
#A34A81
accent
#4BA5DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227040

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

Preview Lab → · Contrast checker → · Palette generator →

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