#245217#245217

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

Color values

HEX#245217
RGBrgb(36, 82, 23)
HSLhsl(107, 56%, 21%)
HSVhsv(107, 72%, 32%)
CMYKcmyk(56.1%, 0%, 72%, 67.8%)
CIE-LABlab(30.57, -28.29, 28.84)
CIE-LCHlch(30.57, 40.40, 134.45°)
OKLaboklab(39.2% -0.0777 0.0664)
OKLCHoklch(39.2% 0.102 139.5)
XYZxyz(3.8993, 6.4712, 1.8540)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245217 #451752
analogous
#415217 #245217 #175227
triadic
#245217 #172452 #521724
tetradic
#245217 #174152 #451752 #522717
square
#245217 #174152 #451752 #522717
split-complementary
#245217 #271752 #521741
monochromatic
#0A1807 #0F220A #245217 #398224 #4EB232

Accessibility & contrast

On white

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

On black

2.29
#245217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##245217#FFFFFF#000000##FFFFFF
##2452171.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0F
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#204F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #245217;
/* rgb */ color: rgb(36, 82, 23);
/* oklch */ color: oklch(39.2% 0.102 139.5);
Tailwind
colors: {
  custom: {
    50: '#648357',
    500: '#245217',
    950: '#000000',
  },
}
SCSS
$custom: #245217;
$custom-light: #648357;
$custom-dark: #000000;
JSON
{
  "hex": "#245217",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 106.78,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39202,
    "c": 0.10223,
    "h": 139.5
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#245217
secondary
#783C89
accent
#48DFBE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245217

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

Preview Lab → · Contrast checker → · Palette generator →

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