#245F1C#245F1C

#245F1C is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.117 H 141.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#245F1C
RGBrgb(36, 95, 28)
HSLhsl(113, 54%, 24%)
HSVhsv(113, 71%, 37%)
CMYKcmyk(62.1%, 0%, 70.5%, 62.7%)
CIE-LABlab(35.29, -33.36, 31.57)
CIE-LCHlch(35.29, 45.93, 136.58°)
OKLaboklab(43.1% -0.0911 0.0728)
OKLCHoklch(43.1% 0.117 141.4)
XYZxyz(5.0291, 8.6429, 2.5016)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F1C #571C5F
analogous
#465F1C #245F1C #1C5F36
triadic
#245F1C #1C245F #5F1C24
tetradic
#245F1C #1C465F #571C5F #5F361C
square
#245F1C #1C465F #571C5F #5F361C
split-complementary
#245F1C #361C5F #5F1C46
monochromatic
#091807 #12300E #245F1C #368E2A #48BE38

Accessibility & contrast

On white

7.70
#245F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#245F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245F1C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245F1C#FFFFFF#000000##FFFFFF
##245F1C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615613
Deuteranopia (green-blind)
#5A5122
Tritanopia (blue-blind)
#1C5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245f1c;
/* rgb */ color: rgb(36, 95, 28);
/* oklch */ color: oklch(43.1% 0.117 141.4);
Tailwind
colors: {
  custom: {
    50: '#668d5c',
    500: '#245f1c',
    950: '#000000',
  },
}
SCSS
$custom: #245f1c;
$custom-light: #668d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#245f1c",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 112.836,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.11663,
    "h": 141.4
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#245F1C
secondary
#8B4294
accent
#4ADECC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #245F1C

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

Preview Lab → · Contrast checker → · Palette generator →

#245F1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva