#245A12#245A12

#245A12 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.117 H 139.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#245A12
RGBrgb(36, 90, 18)
HSLhsl(105, 67%, 21%)
HSVhsv(105, 80%, 35%)
CMYKcmyk(60%, 0%, 80%, 64.7%)
CIE-LABlab(33.42, -32.21, 33.99)
CIE-LCHlch(33.42, 46.83, 133.46°)
OKLaboklab(41.53% -0.0887 0.0765)
OKLCHoklch(41.53% 0.117 139.2)
XYZxyz(4.4927, 7.7307, 1.8276)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A12 #48125A
analogous
#485A12 #245A12 #125A24
triadic
#245A12 #12245A #5A1224
tetradic
#245A12 #12485A #48125A #5A2412
square
#245A12 #12485A #48125A #5A2412
split-complementary
#245A12 #24125A #5A1248
monochromatic
#0A1A05 #102708 #245A12 #388D1C #4DC026

Accessibility & contrast

On white

8.25
#245A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#245A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245A12
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A12#FFFFFF#000000##FFFFFF
##245A121.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#1E574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #245a12;
/* rgb */ color: rgb(36, 90, 18);
/* oklch */ color: oklch(41.5% 0.117 139.2);
Tailwind
colors: {
  custom: {
    50: '#668956',
    500: '#245a12',
    950: '#000000',
  },
}
SCSS
$custom: #245a12;
$custom-light: #668956;
$custom-dark: #000000;
JSON
{
  "hex": "#245a12",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 105,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.1171,
    "h": 139.2
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#245A12
secondary
#7B3593
accent
#3EEABF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245A12

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

Preview Lab → · Contrast checker → · Palette generator →

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