#245C0F#245C0F

#245C0F is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.1% C 0.122 H 139.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#245C0F
RGBrgb(36, 92, 15)
HSLhsl(104, 72%, 21%)
HSVhsv(104, 84%, 36%)
CMYKcmyk(60.9%, 0%, 83.7%, 63.9%)
CIE-LABlab(34.11, -33.26, 35.80)
CIE-LCHlch(34.11, 48.87, 132.90°)
OKLaboklab(42.1% -0.0917 0.0798)
OKLCHoklch(42.1% 0.122 139)
XYZxyz(4.6407, 8.0635, 1.7637)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245C0F #470F5C
analogous
#4A5C0F #245C0F #0F5C20
triadic
#245C0F #0F245C #5C0F24
tetradic
#245C0F #0F4A5C #470F5C #5C200F
square
#245C0F #0F4A5C #470F5C #5C200F
split-complementary
#245C0F #200F5C #5C0F4A
monochromatic
#0A1A04 #0F2706 #245C0F #399118 #4DC520

Accessibility & contrast

On white

8.04
#245C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#245C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245C0F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245C0F#FFFFFF#000000##FFFFFF
##245C0F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#1E594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #245c0f;
/* rgb */ color: rgb(36, 92, 15);
/* oklch */ color: oklch(42.1% 0.122 139.0);
Tailwind
colors: {
  custom: {
    50: '#668b54',
    500: '#245c0f',
    950: '#000000',
  },
}
SCSS
$custom: #245c0f;
$custom-light: #668b54;
$custom-dark: #000000;
JSON
{
  "hex": "#245c0f",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 103.636,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42103,
    "c": 0.12153,
    "h": 139
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#245C0F
secondary
#7A3195
accent
#39EFBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #245C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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