#245D17#245D17

#245D17 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.118 H 140.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#245D17
RGBrgb(36, 93, 23)
HSLhsl(109, 60%, 23%)
HSVhsv(109, 75%, 36%)
CMYKcmyk(61.3%, 0%, 75.3%, 63.5%)
CIE-LABlab(34.53, -33.03, 33.04)
CIE-LCHlch(34.53, 46.72, 134.99°)
OKLaboklab(42.46% -0.0905 0.0752)
OKLCHoklch(42.46% 0.118 140.3)
XYZxyz(4.7963, 8.2652, 2.1530)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245D17 #50175D
analogous
#475D17 #245D17 #175D2D
triadic
#245D17 #17245D #5D1724
tetradic
#245D17 #17475D #50175D #5D2D17
square
#245D17 #17475D #50175D #5D2D17
split-complementary
#245D17 #2D175D #5D1747
monochromatic
#091906 #112C0B #245D17 #378E23 #4ABF2F

Accessibility & contrast

On white

7.91
#245D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#245D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245D17
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245D17#FFFFFF#000000##FFFFFF
##245D171.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#1D5A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245d17;
/* rgb */ color: rgb(36, 93, 23);
/* oklch */ color: oklch(42.5% 0.118 140.3);
Tailwind
colors: {
  custom: {
    50: '#668b59',
    500: '#245d17',
    950: '#000000',
  },
}
SCSS
$custom: #245d17;
$custom-light: #668b59;
$custom-dark: #000000;
JSON
{
  "hex": "#245d17",
  "rgb": {
    "r": 36,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 108.857,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.11772,
    "h": 140.3
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#245D17
secondary
#833C94
accent
#44E3C6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #245D17

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

Preview Lab → · Contrast checker → · Palette generator →

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