#245017#245017

#245017 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.099 H 139.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#245017
RGBrgb(36, 80, 23)
HSLhsl(106, 55%, 20%)
HSVhsv(106, 71%, 31%)
CMYKcmyk(55%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.85, -27.39, 28.06)
CIE-LCHlch(29.85, 39.21, 134.31°)
OKLaboklab(38.61% -0.0753 0.0648)
OKLCHoklch(38.61% 0.099 139.3)
XYZxyz(3.7507, 6.1740, 1.8045)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245017 #431750
analogous
#405017 #245017 #175027
triadic
#245017 #172450 #501724
tetradic
#245017 #174050 #431750 #502717
square
#245017 #174050 #431750 #502717
split-complementary
#245017 #271750 #501740
monochromatic
#0B1807 #0F2009 #245017 #398025 #4FAF32

Accessibility & contrast

On white

9.40
#245017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#245017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245017
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245017#FFFFFF#000000##FFFFFF
##2450171.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524910
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#204D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #245017;
/* rgb */ color: rgb(36, 80, 23);
/* oklch */ color: oklch(38.6% 0.099 139.3);
Tailwind
colors: {
  custom: {
    50: '#648157',
    500: '#245017',
    950: '#000000',
  },
}
SCSS
$custom: #245017;
$custom-light: #648157;
$custom-dark: #000000;
JSON
{
  "hex": "#245017",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 106.316,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38607,
    "c": 0.0993,
    "h": 139.3
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#245017
secondary
#763C87
accent
#49DFBD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245017

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

Preview Lab → · Contrast checker → · Palette generator →

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