#245E12#245E12

#245E12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.7% C 0.122 H 139.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#245E12
RGBrgb(36, 94, 18)
HSLhsl(106, 68%, 22%)
HSVhsv(106, 81%, 37%)
CMYKcmyk(61.7%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.85, -33.86, 35.41)
CIE-LCHlch(34.85, 49.00, 133.72°)
OKLaboklab(42.72% -0.0931 0.0794)
OKLCHoklch(42.72% 0.122 139.5)
XYZxyz(4.8392, 8.4237, 1.9431)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245E12 #4C125E
analogous
#4A5E12 #245E12 #125E26
triadic
#245E12 #12245E #5E1224
tetradic
#245E12 #124A5E #4C125E #5E2612
square
#245E12 #124A5E #4C125E #5E2612
split-complementary
#245E12 #26125E #5E124A
monochromatic
#0A1A05 #102B08 #245E12 #38911C #4BC526

Accessibility & contrast

On white

7.82
#245E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#245E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245E12
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245E12#FFFFFF#000000##FFFFFF
##245E121.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#1D5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245e12;
/* rgb */ color: rgb(36, 94, 18);
/* oklch */ color: oklch(42.7% 0.122 139.5);
Tailwind
colors: {
  custom: {
    50: '#678c56',
    500: '#245e12',
    950: '#000000',
  },
}
SCSS
$custom: #245e12;
$custom-light: #678c56;
$custom-dark: #000000;
JSON
{
  "hex": "#245e12",
  "rgb": {
    "r": 36,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 105.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.1224,
    "h": 139.5
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#245E12
secondary
#7F3596
accent
#3DEBC2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #245E12

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

Preview Lab → · Contrast checker → · Palette generator →

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