#245218#245218

#245218 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.101 H 139.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#245218
RGBrgb(36, 82, 24)
HSLhsl(108, 55%, 21%)
HSVhsv(108, 71%, 32%)
CMYKcmyk(56.1%, 0%, 70.7%, 67.8%)
CIE-LABlab(30.58, -28.18, 28.37)
CIE-LCHlch(30.58, 39.99, 134.82°)
OKLaboklab(39.21% -0.0774 0.0655)
OKLCHoklch(39.21% 0.101 139.7)
XYZxyz(3.9096, 6.4753, 1.9078)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245218 #461852
analogous
#415218 #245218 #185229
triadic
#245218 #182452 #521824
tetradic
#245218 #184152 #461852 #522918
square
#245218 #184152 #461852 #522918
split-complementary
#245218 #291852 #521841
monochromatic
#0A1807 #0F230A #245218 #398126 #4EB134

Accessibility & contrast

On white

9.15
#245218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#245218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245218
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245218#FFFFFF#000000##FFFFFF
##2452181.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#1F4F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #245218;
/* rgb */ color: rgb(36, 82, 24);
/* oklch */ color: oklch(39.2% 0.101 139.7);
Tailwind
colors: {
  custom: {
    50: '#648358',
    500: '#245218',
    950: '#000000',
  },
}
SCSS
$custom: #245218;
$custom-light: #648358;
$custom-dark: #000000;
JSON
{
  "hex": "#245218",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 107.586,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.10139,
    "h": 139.7
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#245218
secondary
#793D89
accent
#4ADEBF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245218

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

Preview Lab → · Contrast checker → · Palette generator →

#245218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva