#225431#225431

#225431 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.1% C 0.080 H 151.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#225431
RGBrgb(34, 84, 49)
HSLhsl(138, 42%, 23%)
HSVhsv(138, 60%, 33%)
CMYKcmyk(59.5%, 0%, 41.7%, 67.1%)
CIE-LABlab(31.58, -25.78, 15.52)
CIE-LCHlch(31.58, 30.09, 148.96°)
OKLaboklab(40.13% -0.0699 0.0387)
OKLCHoklch(40.13% 0.08 151)
XYZxyz(4.3841, 6.9021, 4.0063)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225431 #542245
analogous
#2C5422 #225431 #22544A
triadic
#225431 #312254 #543122
tetradic
#225431 #222C54 #542245 #544A22
square
#225431 #222C54 #542245 #544A22
split-complementary
#225431 #4A2254 #54222C
monochromatic
#09160D #102818 #225431 #34804A #45AB64

Accessibility & contrast

On white

8.82
#225431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#225431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225431
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225431#FFFFFF#000000##FFFFFF
##2254311.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#16534B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #225431;
/* rgb */ color: rgb(34, 84, 49);
/* oklch */ color: oklch(40.1% 0.080 151.0);
Tailwind
colors: {
  custom: {
    50: '#628469',
    500: '#225431',
    950: '#000000',
  },
}
SCSS
$custom: #225431;
$custom-light: #628469;
$custom-dark: #000000;
JSON
{
  "hex": "#225431",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 49
  },
  "hsl": {
    "h": 138,
    "s": 42.373,
    "l": 23.137
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.0799,
    "h": 151
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#225431
secondary
#884A75
accent
#56ADD2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A

Preview Lab

Preview with #225431

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

Preview Lab → · Contrast checker → · Palette generator →

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