#245D12#245D12

#245D12 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.4% C 0.121 H 139.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#245D12
RGBrgb(36, 93, 18)
HSLhsl(106, 68%, 22%)
HSVhsv(106, 81%, 36%)
CMYKcmyk(61.3%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.49, -33.46, 35.06)
CIE-LCHlch(34.49, 48.46, 133.66°)
OKLaboklab(42.42% -0.092 0.0787)
OKLCHoklch(42.42% 0.121 139.5)
XYZxyz(4.7509, 8.2470, 1.9136)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245D12 #4B125D
analogous
#4A5D12 #245D12 #125D26
triadic
#245D12 #12245D #5D1224
tetradic
#245D12 #124A5D #4B125D #5D2612
square
#245D12 #124A5D #4B125D #5D2612
split-complementary
#245D12 #26125D #5D124A
monochromatic
#0A1A05 #102A08 #245D12 #38901C #4CC426

Accessibility & contrast

On white

7.93
#245D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#245D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245D12
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245D12#FFFFFF#000000##FFFFFF
##245D121.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#1E5A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245d12;
/* rgb */ color: rgb(36, 93, 18);
/* oklch */ color: oklch(42.4% 0.121 139.5);
Tailwind
colors: {
  custom: {
    50: '#668b56',
    500: '#245d12',
    950: '#000000',
  },
}
SCSS
$custom: #245d12;
$custom-light: #668b56;
$custom-dark: #000000;
JSON
{
  "hex": "#245d12",
  "rgb": {
    "r": 36,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 105.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42421,
    "c": 0.12109,
    "h": 139.5
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#245D12
secondary
#7E3595
accent
#3DEAC1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #245D12

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

Preview Lab → · Contrast checker → · Palette generator →

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