#245C22#245C22

#245C22 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.107 H 142.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#245C22
RGBrgb(36, 92, 34)
HSLhsl(118, 46%, 25%)
HSVhsv(118, 63%, 36%)
CMYKcmyk(60.9%, 0%, 63%, 63.9%)
CIE-LABlab(34.28, -31.36, 27.45)
CIE-LCHlch(34.28, 41.68, 138.81°)
OKLaboklab(42.3% -0.0853 0.0647)
OKLCHoklch(42.3% 0.107 142.8)
XYZxyz(4.8432, 8.1444, 2.8299)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245C22 #5A225C
analogous
#415C22 #245C22 #225C3D
triadic
#245C22 #22245C #5C2224
tetradic
#245C22 #22415C #5A225C #5C3D22
square
#245C22 #22415C #5A225C #5C3D22
split-complementary
#245C22 #3D225C #5C2241
monochromatic
#091608 #132F11 #245C22 #358933 #47B543

Accessibility & contrast

On white

7.99
#245C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#245C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245C22
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245C22#FFFFFF#000000##FFFFFF
##245C221.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#1B594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245c22;
/* rgb */ color: rgb(36, 92, 34);
/* oklch */ color: oklch(42.3% 0.107 142.8);
Tailwind
colors: {
  custom: {
    50: '#658b5f',
    500: '#245c22',
    950: '#000000',
  },
}
SCSS
$custom: #245c22;
$custom-light: #658b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#245c22",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 117.931,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.1071,
    "h": 142.8
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#245C22
secondary
#8E4A90
accent
#52D6D1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #245C22

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

Preview Lab → · Contrast checker → · Palette generator →

#245C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva