#225334#225334

#225334 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.075 H 153.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#225334
RGBrgb(34, 83, 52)
HSLhsl(142, 42%, 23%)
HSVhsv(142, 59%, 33%)
CMYKcmyk(59%, 0%, 37.3%, 67.5%)
CIE-LABlab(31.29, -24.67, 13.29)
CIE-LCHlch(31.29, 28.02, 151.69°)
OKLaboklab(39.91% -0.0671 0.0334)
OKLCHoklch(39.91% 0.075 153.5)
XYZxyz(4.3724, 6.7741, 4.3253)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225334 #532241
analogous
#285322 #225334 #22534C
triadic
#225334 #342253 #533422
tetradic
#225334 #222853 #532241 #534C22
square
#225334 #222853 #532241 #534C22
split-complementary
#225334 #4C2253 #532228
monochromatic
#09160E #102819 #225334 #347E4F #46AA6A

Accessibility & contrast

On white

8.92
#225334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#225334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225334
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225334#FFFFFF#000000##FFFFFF
##2253341.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D32
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#15524B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #225334;
/* rgb */ color: rgb(34, 83, 52);
/* oklch */ color: oklch(39.9% 0.075 153.5);
Tailwind
colors: {
  custom: {
    50: '#62846b',
    500: '#225334',
    950: '#000000',
  },
}
SCSS
$custom: #225334;
$custom-light: #62846b;
$custom-dark: #000000;
JSON
{
  "hex": "#225334",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 52
  },
  "hsl": {
    "h": 142.041,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39909,
    "c": 0.07492,
    "h": 153.5
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#225334
secondary
#874A71
accent
#56A4D2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A

Preview Lab

Preview with #225334

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

Preview Lab → · Contrast checker → · Palette generator →

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