#245F0F#245F0F

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

Color values

HEX#245F0F
RGBrgb(36, 95, 15)
HSLhsl(104, 73%, 22%)
HSVhsv(104, 84%, 37%)
CMYKcmyk(62.1%, 0%, 84.2%, 62.7%)
CIE-LABlab(35.19, -34.48, 36.82)
CIE-LCHlch(35.19, 50.45, 133.12°)
OKLaboklab(42.99% -0.095 0.0819)
OKLCHoklch(42.99% 0.125 139.2)
XYZxyz(4.9058, 8.5935, 1.8520)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F0F #4A0F5F
analogous
#4C5F0F #245F0F #0F5F22
triadic
#245F0F #0F245F #5F0F24
tetradic
#245F0F #0F4C5F #4A0F5F #5F220F
square
#245F0F #0F4C5F #4A0F5F #5F220F
split-complementary
#245F0F #220F5F #5F0F4C
monochromatic
#0A1A04 #102A07 #245F0F #389417 #4CC920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##245F0F#FFFFFF#000000##FFFFFF
##245F0F1.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)
#625600
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#1D5C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245f0f;
/* rgb */ color: rgb(36, 95, 15);
/* oklch */ color: oklch(43.0% 0.125 139.2);
Tailwind
colors: {
  custom: {
    50: '#678d55',
    500: '#245f0f',
    950: '#000000',
  },
}
SCSS
$custom: #245f0f;
$custom-light: #678d55;
$custom-dark: #000000;
JSON
{
  "hex": "#245f0f",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 104.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.12541,
    "h": 139.2
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#245F0F
secondary
#7D3298
accent
#38EFBF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #245F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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