#245C26#245C26

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

Color values

HEX#245C26
RGBrgb(36, 92, 38)
HSLhsl(122, 44%, 25%)
HSVhsv(122, 61%, 36%)
CMYKcmyk(60.9%, 0%, 58.7%, 63.9%)
CIE-LABlab(34.33, -30.80, 25.37)
CIE-LCHlch(34.33, 39.91, 140.52°)
OKLaboklab(42.35% -0.0836 0.0605)
OKLCHoklch(42.35% 0.103 144.1)
XYZxyz(4.9043, 8.1689, 3.1517)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245C26 #5C245A
analogous
#3E5C24 #245C26 #245C42
triadic
#245C26 #26245C #5C2624
tetradic
#245C26 #243E5C #5C245A #5C4224
square
#245C26 #243E5C #5C245A #5C4224
split-complementary
#245C26 #42245C #5C243E
monochromatic
#091609 #133014 #245C26 #358838 #46B44A

Accessibility & contrast

On white

7.97
#245C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#245C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245C26
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245C26#FFFFFF#000000##FFFFFF
##245C261.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #245c26;
/* rgb */ color: rgb(36, 92, 38);
/* oklch */ color: oklch(42.4% 0.103 144.1);
Tailwind
colors: {
  custom: {
    50: '#658b62',
    500: '#245c26',
    950: '#000000',
  },
}
SCSS
$custom: #245c26;
$custom-light: #658b62;
$custom-dark: #000000;
JSON
{
  "hex": "#245c26",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 38
  },
  "hsl": {
    "h": 122.143,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.10323,
    "h": 144.1
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#245C26
secondary
#904C8D
accent
#54CFD3
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #245C26

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

Preview Lab → · Contrast checker → · Palette generator →

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