#225438#225438

#225438 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.072 H 156.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#225438
RGBrgb(34, 84, 56)
HSLhsl(146, 42%, 23%)
HSVhsv(146, 60%, 33%)
CMYKcmyk(59.5%, 0%, 33.3%, 67.1%)
CIE-LABlab(31.73, -24.27, 11.42)
CIE-LCHlch(31.73, 26.82, 154.80°)
OKLaboklab(40.3% -0.0662 0.0289)
OKLCHoklch(40.3% 0.072 156.4)
XYZxyz(4.5435, 6.9658, 4.8457)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225438 #54223E
analogous
#255422 #225438 #225451
triadic
#225438 #382254 #543822
tetradic
#225438 #222554 #54223E #545122
square
#225438 #222554 #54223E #545122
split-complementary
#225438 #512254 #542225
monochromatic
#09160F #10281B #225438 #348055 #45AB72

Accessibility & contrast

On white

8.77
#225438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#225438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225438
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225438#FFFFFF#000000##FFFFFF
##2254381.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E36
Deuteranopia (green-blind)
#4C493A
Tritanopia (blue-blind)
#12534D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #225438;
/* rgb */ color: rgb(34, 84, 56);
/* oklch */ color: oklch(40.3% 0.072 156.4);
Tailwind
colors: {
  custom: {
    50: '#62846e',
    500: '#225438',
    950: '#000000',
  },
}
SCSS
$custom: #225438;
$custom-light: #62846e;
$custom-dark: #000000;
JSON
{
  "hex": "#225438",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 56
  },
  "hsl": {
    "h": 146.4,
    "s": 42.373,
    "l": 23.137
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.07225,
    "h": 156.4
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#225438
secondary
#884A6D
accent
#569BD2
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A

Preview Lab

Preview with #225438

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

Preview Lab → · Contrast checker → · Palette generator →

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