#225312#225312

#225312 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.109 H 139.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#225312
RGBrgb(34, 83, 18)
HSLhsl(105, 64%, 20%)
HSVhsv(105, 78%, 33%)
CMYKcmyk(59%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.81, -29.86, 31.34)
CIE-LCHlch(30.81, 43.29, 133.61°)
OKLaboklab(39.36% -0.0822 0.071)
OKLCHoklch(39.36% 0.109 139.2)
XYZxyz(3.8620, 6.5700, 1.6368)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225312 #431253
analogous
#425312 #225312 #125323
triadic
#225312 #122253 #531222
tetradic
#225312 #124253 #431253 #532312
square
#225312 #124253 #431253 #532312
split-complementary
#225312 #231253 #531242
monochromatic
#0A1905 #0D2107 #225312 #37851D #4BB828

Accessibility & contrast

On white

9.08
#225312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#225312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225312
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225312#FFFFFF#000000##FFFFFF
##2253121.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#1D5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #225312;
/* rgb */ color: rgb(34, 83, 18);
/* oklch */ color: oklch(39.4% 0.109 139.2);
Tailwind
colors: {
  custom: {
    50: '#638454',
    500: '#225312',
    950: '#000000',
  },
}
SCSS
$custom: #225312;
$custom-light: #638454;
$custom-dark: #000000;
JSON
{
  "hex": "#225312",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 105.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39359,
    "c": 0.10858,
    "h": 139.2
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#225312
secondary
#76358C
accent
#40E7BE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225312

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

Preview Lab → · Contrast checker → · Palette generator →

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