#225331#225331

#225331 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.078 H 151.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#225331
RGBrgb(34, 83, 49)
HSLhsl(138, 42%, 23%)
HSVhsv(138, 59%, 33%)
CMYKcmyk(59%, 0%, 41%, 67.5%)
CIE-LABlab(31.23, -25.30, 15.05)
CIE-LCHlch(31.23, 29.44, 149.26°)
OKLaboklab(39.84% -0.0686 0.0376)
OKLCHoklch(39.84% 0.078 151.3)
XYZxyz(4.3070, 6.7480, 3.9807)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225331 #532244
analogous
#2C5322 #225331 #225349
triadic
#225331 #312253 #533122
tetradic
#225331 #222C53 #532244 #534922
square
#225331 #222C53 #532244 #534922
split-complementary
#225331 #492253 #53222C
monochromatic
#09160D #102817 #225331 #347E4B #46AA64

Accessibility & contrast

On white

8.94
#225331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#225331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225331
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225331#FFFFFF#000000##FFFFFF
##2253311.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#16524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #225331;
/* rgb */ color: rgb(34, 83, 49);
/* oklch */ color: oklch(39.8% 0.078 151.3);
Tailwind
colors: {
  custom: {
    50: '#628469',
    500: '#225331',
    950: '#000000',
  },
}
SCSS
$custom: #225331;
$custom-light: #628469;
$custom-dark: #000000;
JSON
{
  "hex": "#225331",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 138.367,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39839,
    "c": 0.07824,
    "h": 151.3
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#225331
secondary
#874A74
accent
#56ACD2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A

Preview Lab

Preview with #225331

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

Preview Lab → · Contrast checker → · Palette generator →

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