#245015#245015

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

Color values

HEX#245015
RGBrgb(36, 80, 21)
HSLhsl(105, 58%, 20%)
HSVhsv(105, 74%, 31%)
CMYKcmyk(55%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.83, -27.60, 29.00)
CIE-LCHlch(29.83, 40.03, 133.59°)
OKLaboklab(38.59% -0.076 0.0665)
OKLCHoklch(38.59% 0.101 138.8)
XYZxyz(3.7314, 6.1663, 1.7029)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245015 #411550
analogous
#425015 #245015 #155024
triadic
#245015 #152450 #501524
tetradic
#245015 #154250 #411550 #502415
square
#245015 #154250 #411550 #502415
split-complementary
#245015 #241550 #501542
monochromatic
#0B1806 #0E2008 #245015 #3A8022 #50B12E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##245015#FFFFFF#000000##FFFFFF
##2450151.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)
#53490D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#204D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #245015;
/* rgb */ color: rgb(36, 80, 21);
/* oklch */ color: oklch(38.6% 0.101 138.8);
Tailwind
colors: {
  custom: {
    50: '#648156',
    500: '#245015',
    950: '#000000',
  },
}
SCSS
$custom: #245015;
$custom-light: #648156;
$custom-dark: #000000;
JSON
{
  "hex": "#245015",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 104.746,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38585,
    "c": 0.10096,
    "h": 138.8
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#245015
secondary
#743988
accent
#46E2BA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245015

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

Preview Lab → · Contrast checker → · Palette generator →

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