#245712#245712

#245712 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.113 H 139.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#245712
RGBrgb(36, 87, 18)
HSLhsl(104, 66%, 21%)
HSVhsv(104, 79%, 34%)
CMYKcmyk(58.6%, 0%, 79.3%, 65.9%)
CIE-LABlab(32.34, -30.95, 32.91)
CIE-LCHlch(32.34, 45.18, 133.24°)
OKLaboklab(40.64% -0.0853 0.0742)
OKLCHoklch(40.64% 0.113 139)
XYZxyz(4.2448, 7.2348, 1.7449)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245712 #451257
analogous
#465712 #245712 #125722
triadic
#245712 #122457 #571224
tetradic
#245712 #124657 #451257 #572212
square
#245712 #124657 #451257 #572212
split-complementary
#245712 #221257 #571246
monochromatic
#0A1905 #0F2408 #245712 #398A1C #4EBC27

Accessibility & contrast

On white

8.58
#245712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#245712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245712
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245712#FFFFFF#000000##FFFFFF
##2457121.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#1F544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #245712;
/* rgb */ color: rgb(36, 87, 18);
/* oklch */ color: oklch(40.6% 0.113 139.0);
Tailwind
colors: {
  custom: {
    50: '#658755',
    500: '#245712',
    950: '#000000',
  },
}
SCSS
$custom: #245712;
$custom-light: #658755;
$custom-dark: #000000;
JSON
{
  "hex": "#245712",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 104.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.11303,
    "h": 139
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#245712
secondary
#783590
accent
#3FE9BC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245712

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

Preview Lab → · Contrast checker → · Palette generator →

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