#245A18#245A18

#245A18 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.113 H 140.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#245A18
RGBrgb(36, 90, 24)
HSLhsl(109, 58%, 22%)
HSVhsv(109, 73%, 35%)
CMYKcmyk(60%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.46, -31.68, 31.47)
CIE-LCHlch(33.46, 44.65, 135.19°)
OKLaboklab(41.59% -0.0868 0.0721)
OKLCHoklch(41.59% 0.113 140.3)
XYZxyz(4.5484, 7.7530, 2.1208)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A18 #4E185A
analogous
#455A18 #245A18 #185A2D
triadic
#245A18 #18245A #5A1824
tetradic
#245A18 #18455A #4E185A #5A2D18
square
#245A18 #18455A #4E185A #5A2D18
split-complementary
#245A18 #2D185A #5A1845
monochromatic
#0A1806 #112A0B #245A18 #378A25 #4BBB32

Accessibility & contrast

On white

8.23
#245A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#245A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245A18
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A18#FFFFFF#000000##FFFFFF
##245A181.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510F
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#1E574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #245a18;
/* rgb */ color: rgb(36, 90, 24);
/* oklch */ color: oklch(41.6% 0.113 140.3);
Tailwind
colors: {
  custom: {
    50: '#658959',
    500: '#245a18',
    950: '#000000',
  },
}
SCSS
$custom: #245a18;
$custom-light: #658959;
$custom-dark: #000000;
JSON
{
  "hex": "#245a18",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 109.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.11283,
    "h": 140.3
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#245A18
secondary
#813D91
accent
#47E1C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #245A18

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

Preview Lab → · Contrast checker → · Palette generator →

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