#245E40#245E40

#245E40 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.079 H 157.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#245E40
RGBrgb(36, 94, 64)
HSLhsl(149, 45%, 25%)
HSVhsv(149, 62%, 37%)
CMYKcmyk(61.7%, 0%, 31.9%, 63.1%)
CIE-LABlab(35.50, -26.78, 11.68)
CIE-LCHlch(35.50, 29.22, 156.44°)
OKLaboklab(43.46% -0.0731 0.0296)
OKLCHoklch(43.46% 0.079 157.9)
XYZxyz(5.6552, 8.7501, 6.2404)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245E40 #5E2442
analogous
#255E24 #245E40 #245E5D
triadic
#245E40 #40245E #5E4024
tetradic
#245E40 #24255E #5E2442 #5E5D24
square
#245E40 #24255E #5E2442 #5E5D24
split-complementary
#245E40 #5D245E #5E2425
monochromatic
#08160F #133222 #245E40 #358A5E #46B77C

Accessibility & contrast

On white

7.64
#245E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#245E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245E40
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245E40#FFFFFF#000000##FFFFFF
##245E401.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#0E5D56
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245e40;
/* rgb */ color: rgb(36, 94, 64);
/* oklch */ color: oklch(43.5% 0.079 157.9);
Tailwind
colors: {
  custom: {
    50: '#658c75',
    500: '#245e40',
    950: '#000000',
  },
}
SCSS
$custom: #245e40;
$custom-light: #658c75;
$custom-dark: #000000;
JSON
{
  "hex": "#245e40",
  "rgb": {
    "r": 36,
    "g": 94,
    "b": 64
  },
  "hsl": {
    "h": 148.966,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.07892,
    "h": 157.9
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#245E40
secondary
#924C70
accent
#5396D4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #245E40

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

Preview Lab → · Contrast checker → · Palette generator →

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