#245E18#245E18

#245E18 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.118 H 140.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#245E18
RGBrgb(36, 94, 24)
HSLhsl(110, 59%, 23%)
HSVhsv(110, 74%, 37%)
CMYKcmyk(61.7%, 0%, 74.5%, 63.1%)
CIE-LABlab(34.90, -33.35, 32.98)
CIE-LCHlch(34.90, 46.90, 135.32°)
OKLaboklab(42.77% -0.0913 0.0753)
OKLCHoklch(42.77% 0.118 140.5)
XYZxyz(4.8949, 8.4460, 2.2363)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245E18 #52185E
analogous
#475E18 #245E18 #185E2F
triadic
#245E18 #18245E #5E1824
tetradic
#245E18 #18475E #52185E #5E2F18
square
#245E18 #18475E #52185E #5E2F18
split-complementary
#245E18 #2F185E #5E1847
monochromatic
#091806 #112D0C #245E18 #378F24 #49C031

Accessibility & contrast

On white

7.81
#245E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#245E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245E18
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245E18#FFFFFF#000000##FFFFFF
##245E181.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#1C5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245e18;
/* rgb */ color: rgb(36, 94, 24);
/* oklch */ color: oklch(42.8% 0.118 140.5);
Tailwind
colors: {
  custom: {
    50: '#668c59',
    500: '#245e18',
    950: '#000000',
  },
}
SCSS
$custom: #245e18;
$custom-light: #668c59;
$custom-dark: #000000;
JSON
{
  "hex": "#245e18",
  "rgb": {
    "r": 36,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 109.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.11835,
    "h": 140.5
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#245E18
secondary
#863D94
accent
#45E3C8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #245E18

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

Preview Lab → · Contrast checker → · Palette generator →

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