#245C28#245C28

#245C28 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.101 H 144.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#245C28
RGBrgb(36, 92, 40)
HSLhsl(124, 44%, 25%)
HSVhsv(124, 61%, 36%)
CMYKcmyk(60.9%, 0%, 56.5%, 63.9%)
CIE-LABlab(34.36, -30.50, 24.31)
CIE-LCHlch(34.36, 39.00, 141.45°)
OKLaboklab(42.38% -0.0827 0.0583)
OKLCHoklch(42.38% 0.101 144.8)
XYZxyz(4.9374, 8.1821, 3.3262)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245C28 #5C2458
analogous
#3C5C24 #245C28 #245C44
triadic
#245C28 #28245C #5C2824
tetradic
#245C28 #243C5C #5C2458 #5C4424
square
#245C28 #243C5C #5C2458 #5C4424
split-complementary
#245C28 #44245C #5C243C
monochromatic
#09160A #133015 #245C28 #35883B #46B44E

Accessibility & contrast

On white

7.96
#245C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#245C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245C28
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245C28#FFFFFF#000000##FFFFFF
##245C281.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#1A5A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245c28;
/* rgb */ color: rgb(36, 92, 40);
/* oklch */ color: oklch(42.4% 0.101 144.8);
Tailwind
colors: {
  custom: {
    50: '#658b63',
    500: '#245c28',
    950: '#000000',
  },
}
SCSS
$custom: #245c28;
$custom-light: #658b63;
$custom-dark: #000000;
JSON
{
  "hex": "#245c28",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 124.286,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.10122,
    "h": 144.8
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#245C28
secondary
#904C8B
accent
#54CAD3
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #245C28

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

Preview Lab → · Contrast checker → · Palette generator →

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