#245C12#245C12

#245C12 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.120 H 139.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#245C12
RGBrgb(36, 92, 18)
HSLhsl(105, 67%, 22%)
HSVhsv(105, 80%, 36%)
CMYKcmyk(60.9%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.13, -33.04, 34.70)
CIE-LCHlch(34.13, 47.92, 133.60°)
OKLaboklab(42.13% -0.0909 0.078)
OKLCHoklch(42.13% 0.12 139.4)
XYZxyz(4.6637, 8.0726, 1.8846)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245C12 #4A125C
analogous
#495C12 #245C12 #125C25
triadic
#245C12 #12245C #5C1224
tetradic
#245C12 #12495C #4A125C #5C2512
square
#245C12 #12495C #4A125C #5C2512
split-complementary
#245C12 #25125C #5C1249
monochromatic
#0A1A05 #102908 #245C12 #388F1C #4CC226

Accessibility & contrast

On white

8.03
#245C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#245C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245C12
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245C12#FFFFFF#000000##FFFFFF
##245C121.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#1E594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #245c12;
/* rgb */ color: rgb(36, 92, 18);
/* oklch */ color: oklch(42.1% 0.120 139.4);
Tailwind
colors: {
  custom: {
    50: '#668b56',
    500: '#245c12',
    950: '#000000',
  },
}
SCSS
$custom: #245c12;
$custom-light: #668b56;
$custom-dark: #000000;
JSON
{
  "hex": "#245c12",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 105.405,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42125,
    "c": 0.11976,
    "h": 139.4
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#245C12
secondary
#7D3594
accent
#3EEAC0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #245C12

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

Preview Lab → · Contrast checker → · Palette generator →

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