#245018#245018

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

Color values

HEX#245018
RGBrgb(36, 80, 24)
HSLhsl(107, 54%, 20%)
HSVhsv(107, 70%, 31%)
CMYKcmyk(55%, 0%, 70%, 68.6%)
CIE-LABlab(29.86, -27.28, 27.57)
CIE-LCHlch(29.86, 38.79, 134.70°)
OKLaboklab(38.62% -0.0749 0.0639)
OKLCHoklch(38.62% 0.098 139.5)
XYZxyz(3.7609, 6.1781, 1.8583)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245018 #441850
analogous
#405018 #245018 #185028
triadic
#245018 #182450 #501824
tetradic
#245018 #184050 #441850 #502818
square
#245018 #184050 #441850 #502818
split-complementary
#245018 #281850 #501840
monochromatic
#0B1807 #0F210A #245018 #397F26 #4EAE34

Accessibility & contrast

On white

9.39
#245018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#245018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245018
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245018#FFFFFF#000000##FFFFFF
##2450181.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #245018;
/* rgb */ color: rgb(36, 80, 24);
/* oklch */ color: oklch(38.6% 0.098 139.5);
Tailwind
colors: {
  custom: {
    50: '#638158',
    500: '#245018',
    950: '#000000',
  },
}
SCSS
$custom: #245018;
$custom-light: #638158;
$custom-dark: #000000;
JSON
{
  "hex": "#245018",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 107.143,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.09843,
    "h": 139.5
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#245018
secondary
#773D87
accent
#4BDDBE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245018

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

Preview Lab → · Contrast checker → · Palette generator →

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