#227438#227438

#227438 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.121 H 148.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#227438
RGBrgb(34, 116, 56)
HSLhsl(136, 55%, 29%)
HSVhsv(136, 71%, 45%)
CMYKcmyk(70.7%, 0%, 51.7%, 54.5%)
CIE-LABlab(42.94, -38.46, 26.06)
CIE-LCHlch(42.94, 46.45, 145.88°)
OKLaboklab(49.51% -0.1036 0.0633)
OKLCHoklch(49.51% 0.121 148.6)
XYZxyz(7.6183, 13.1156, 5.8707)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227438 #74225E
analogous
#357422 #227438 #227461
triadic
#227438 #382274 #743822
tetradic
#227438 #223574 #74225E #746122
square
#227438 #223574 #74225E #746122
split-complementary
#227438 #612274 #742235
monochromatic
#07180B #144521 #227438 #30A34F #47C96A

Accessibility & contrast

On white

5.80
#227438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#227438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227438
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227438#FFFFFF#000000##FFFFFF
##2274381.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756A33
Deuteranopia (green-blind)
#6B633C
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227438;
/* rgb */ color: rgb(34, 116, 56);
/* oklch */ color: oklch(49.5% 0.121 148.6);
Tailwind
colors: {
  custom: {
    50: '#699d70',
    500: '#227438',
    950: '#000000',
  },
}
SCSS
$custom: #227438;
$custom-light: #699d70;
$custom-dark: #000000;
JSON
{
  "hex": "#227438",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 56
  },
  "hsl": {
    "h": 136.098,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.12142,
    "h": 148.6
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#227438
secondary
#A74B8E
accent
#4AB6DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227438

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

Preview Lab → · Contrast checker → · Palette generator →

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