#225239#225239

#225239 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.068 H 158.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#225239
RGBrgb(34, 82, 57)
HSLhsl(149, 41%, 23%)
HSVhsv(149, 59%, 32%)
CMYKcmyk(58.5%, 0%, 30.5%, 67.8%)
CIE-LABlab(31.04, -23.03, 9.85)
CIE-LCHlch(31.04, 25.05, 156.85°)
OKLaboklab(39.75% -0.0631 0.0251)
OKLCHoklch(39.75% 0.068 158.3)
XYZxyz(4.4151, 6.6697, 4.9248)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225239 #52223B
analogous
#235222 #225239 #225251
triadic
#225239 #392252 #523922
tetradic
#225239 #222352 #52223B #525122
square
#225239 #222352 #52223B #525122
split-complementary
#225239 #512252 #522223
monochromatic
#09160F #10271B #225239 #347D57 #46A975

Accessibility & contrast

On white

9.00
#225239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#225239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225239
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225239#FFFFFF#000000##FFFFFF
##2252391.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C38
Deuteranopia (green-blind)
#4A473B
Tritanopia (blue-blind)
#13514B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #225239;
/* rgb */ color: rgb(34, 82, 57);
/* oklch */ color: oklch(39.7% 0.068 158.3);
Tailwind
colors: {
  custom: {
    50: '#62836f',
    500: '#225239',
    950: '#000000',
  },
}
SCSS
$custom: #225239;
$custom-light: #62836f;
$custom-dark: #000000;
JSON
{
  "hex": "#225239",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 148.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39746,
    "c": 0.06788,
    "h": 158.3
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#225239
secondary
#864A69
accent
#5796D1
background
#F5F8F6
surface
#EAEFEC
border
#C6CAC7
text
#050A07
muted
#797C7A

Preview Lab

Preview with #225239

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

Preview Lab → · Contrast checker → · Palette generator →

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