#245F0C#245F0C

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

Color values

HEX#245F0C
RGBrgb(36, 95, 12)
HSLhsl(103, 78%, 21%)
HSVhsv(103, 87%, 37%)
CMYKcmyk(62.1%, 0%, 87.4%, 62.7%)
CIE-LABlab(35.17, -34.67, 37.78)
CIE-LCHlch(35.17, 51.28, 132.54°)
OKLaboklab(42.97% -0.0956 0.0834)
OKLCHoklch(42.97% 0.127 138.9)
XYZxyz(4.8859, 8.5856, 1.7475)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F0C #470C5F
analogous
#4D5F0C #245F0C #0C5F1E
triadic
#245F0C #0C245F #5F0C24
tetradic
#245F0C #0C4D5F #470C5F #5F1E0C
square
#245F0C #0C4D5F #470C5F #5F1E0C
split-complementary
#245F0C #1E0C5F #5F0C4D
monochromatic
#0A1B03 #0F2905 #245F0C #399513 #4DCC1A

Accessibility & contrast

On white

7.73
#245F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245F0C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245F0C#FFFFFF#000000##FFFFFF
##245F0C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#1E5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245f0c;
/* rgb */ color: rgb(36, 95, 12);
/* oklch */ color: oklch(43.0% 0.127 138.9);
Tailwind
colors: {
  custom: {
    50: '#678d54',
    500: '#245f0c',
    950: '#000000',
  },
}
SCSS
$custom: #245f0c;
$custom-light: #678d54;
$custom-dark: #000000;
JSON
{
  "hex": "#245f0c",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 102.651,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.12692,
    "h": 138.9
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#245F0C
secondary
#7A2D99
accent
#34F4BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #245F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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