#245412#245412

#245412 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.109 H 138.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#245412
RGBrgb(36, 84, 18)
HSLhsl(104, 65%, 20%)
HSVhsv(104, 79%, 33%)
CMYKcmyk(57.1%, 0%, 78.6%, 67.1%)
CIE-LABlab(31.25, -29.66, 31.82)
CIE-LCHlch(31.25, 43.50, 132.98°)
OKLaboklab(39.75% -0.0818 0.0719)
OKLCHoklch(39.75% 0.109 138.7)
XYZxyz(4.0069, 6.7591, 1.6656)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245412 #421254
analogous
#455412 #245412 #125421
triadic
#245412 #122454 #541224
tetradic
#245412 #124554 #421254 #542112
square
#245412 #124554 #421254 #542112
split-complementary
#245412 #211254 #541245
monochromatic
#0B1905 #0E2207 #245412 #3A861D #4FB928

Accessibility & contrast

On white

8.93
#245412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#245412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245412
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245412#FFFFFF#000000##FFFFFF
##2454121.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#205147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #245412;
/* rgb */ color: rgb(36, 84, 18);
/* oklch */ color: oklch(39.7% 0.109 138.7);
Tailwind
colors: {
  custom: {
    50: '#658555',
    500: '#245412',
    950: '#000000',
  },
}
SCSS
$custom: #245412;
$custom-light: #658555;
$custom-dark: #000000;
JSON
{
  "hex": "#245412",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 103.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.10891,
    "h": 138.7
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#245412
secondary
#75358D
accent
#40E8BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245412

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

Preview Lab → · Contrast checker → · Palette generator →

#245412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva