#245F12#245F12

#245F12 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.124 H 139.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#245F12
RGBrgb(36, 95, 18)
HSLhsl(106, 68%, 22%)
HSVhsv(106, 81%, 37%)
CMYKcmyk(62.1%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.21, -34.27, 35.76)
CIE-LCHlch(35.21, 49.53, 133.78°)
OKLaboklab(43.01% -0.0942 0.0802)
OKLCHoklch(43.01% 0.124 139.6)
XYZxyz(4.9287, 8.6027, 1.9729)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F12 #4D125F
analogous
#4B5F12 #245F12 #125F27
triadic
#245F12 #12245F #5F1224
tetradic
#245F12 #124B5F #4D125F #5F2712
square
#245F12 #124B5F #4D125F #5F2712
split-complementary
#245F12 #27125F #5F124B
monochromatic
#0A1A05 #112C08 #245F12 #37921C #4BC625

Accessibility & contrast

On white

7.72
#245F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#245F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245F12
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245F12#FFFFFF#000000##FFFFFF
##245F121.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#1D5C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245f12;
/* rgb */ color: rgb(36, 95, 18);
/* oklch */ color: oklch(43.0% 0.124 139.6);
Tailwind
colors: {
  custom: {
    50: '#678d56',
    500: '#245f12',
    950: '#000000',
  },
}
SCSS
$custom: #245f12;
$custom-light: #678d56;
$custom-dark: #000000;
JSON
{
  "hex": "#245f12",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 105.974,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.1237,
    "h": 139.6
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #245F12

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

Preview Lab → · Contrast checker → · Palette generator →

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