#245115#245115

#245115 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.102 H 138.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#245115
RGBrgb(36, 81, 21)
HSLhsl(105, 59%, 20%)
HSVhsv(105, 74%, 32%)
CMYKcmyk(55.6%, 0%, 74.1%, 68.2%)
CIE-LABlab(30.19, -28.05, 29.38)
CIE-LCHlch(30.19, 40.62, 133.67°)
OKLaboklab(38.88% -0.0772 0.0673)
OKLCHoklch(38.88% 0.102 138.9)
XYZxyz(3.8052, 6.3138, 1.7275)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245115 #421551
analogous
#425115 #245115 #155124
triadic
#245115 #152451 #511524
tetradic
#245115 #154251 #421551 #512415
square
#245115 #154251 #421551 #512415
split-complementary
#245115 #241551 #511542
monochromatic
#0B1806 #0E2008 #245115 #3A8222 #4FB22E

Accessibility & contrast

On white

9.28
#245115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#245115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245115
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245115#FFFFFF#000000##FFFFFF
##2451151.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54490D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#204E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #245115;
/* rgb */ color: rgb(36, 81, 21);
/* oklch */ color: oklch(38.9% 0.102 138.9);
Tailwind
colors: {
  custom: {
    50: '#648256',
    500: '#245115',
    950: '#000000',
  },
}
SCSS
$custom: #245115;
$custom-light: #648256;
$custom-dark: #000000;
JSON
{
  "hex": "#245115",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 105,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38883,
    "c": 0.10241,
    "h": 138.9
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#245115
secondary
#753989
accent
#46E2BB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245115

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

Preview Lab → · Contrast checker → · Palette generator →

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