#245C2A#245C2A

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

Color values

HEX#245C2A
RGBrgb(36, 92, 42)
HSLhsl(126, 44%, 25%)
HSVhsv(126, 61%, 36%)
CMYKcmyk(60.9%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.39, -30.19, 23.22)
CIE-LCHlch(34.39, 38.09, 142.43°)
OKLaboklab(42.42% -0.0818 0.0561)
OKLCHoklch(42.42% 0.099 145.6)
XYZxyz(4.9723, 8.1961, 3.5100)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245C2A #5C2456
analogous
#3A5C24 #245C2A #245C46
triadic
#245C2A #2A245C #5C2A24
tetradic
#245C2A #243A5C #5C2456 #5C4624
square
#245C2A #243A5C #5C2456 #5C4624
split-complementary
#245C2A #46245C #5C243A
monochromatic
#09160A #133016 #245C2A #35883E #46B452

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##245C2A#FFFFFF#000000##FFFFFF
##245C2A1.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)
#5D5426
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#195A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245c2a;
/* rgb */ color: rgb(36, 92, 42);
/* oklch */ color: oklch(42.4% 0.099 145.6);
Tailwind
colors: {
  custom: {
    50: '#658b65',
    500: '#245c2a',
    950: '#000000',
  },
}
SCSS
$custom: #245c2a;
$custom-light: #658b65;
$custom-dark: #000000;
JSON
{
  "hex": "#245c2a",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 126.429,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.09917,
    "h": 145.6
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#245C2A
secondary
#904C88
accent
#54C6D3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #245C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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