#245A34#245A34

#245A34 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.085 H 150.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#245A34
RGBrgb(36, 90, 52)
HSLhsl(138, 43%, 25%)
HSVhsv(138, 60%, 35%)
CMYKcmyk(60%, 0%, 42.2%, 64.7%)
CIE-LABlab(33.85, -27.47, 16.71)
CIE-LCHlch(33.85, 32.15, 148.68°)
OKLaboklab(42.03% -0.0744 0.0416)
OKLCHoklch(42.03% 0.085 150.8)
XYZxyz(5.0032, 7.9349, 4.5161)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A34 #5A244A
analogous
#2F5A24 #245A34 #245A4F
triadic
#245A34 #34245A #5A3424
tetradic
#245A34 #242F5A #5A244A #5A4F24
square
#245A34 #242F5A #5A244A #5A4F24
split-complementary
#245A34 #4F245A #5A242F
monochromatic
#09160D #132E1B #245A34 #35864D #47B167

Accessibility & contrast

On white

8.12
#245A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#245A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245A34
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A34#FFFFFF#000000##FFFFFF
##245A341.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5331
Deuteranopia (green-blind)
#534E36
Tritanopia (blue-blind)
#165950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #245a34;
/* rgb */ color: rgb(36, 90, 52);
/* oklch */ color: oklch(42.0% 0.085 150.8);
Tailwind
colors: {
  custom: {
    50: '#64896c',
    500: '#245a34',
    950: '#000000',
  },
}
SCSS
$custom: #245a34;
$custom-light: #64896c;
$custom-dark: #000000;
JSON
{
  "hex": "#245a34",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 52
  },
  "hsl": {
    "h": 137.778,
    "s": 42.857,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.08526,
    "h": 150.8
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#245A34
secondary
#8E4C7A
accent
#55ADD3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #245A34

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

Preview Lab → · Contrast checker → · Palette generator →

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