#245E1F#245E1F

#245E1F is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.113 H 142.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#245E1F
RGBrgb(36, 94, 31)
HSLhsl(115, 50%, 25%)
HSVhsv(115, 67%, 37%)
CMYKcmyk(61.7%, 0%, 67%, 63.1%)
CIE-LABlab(34.96, -32.60, 29.76)
CIE-LCHlch(34.96, 44.14, 137.61°)
OKLaboklab(42.84% -0.0888 0.0693)
OKLCHoklch(42.84% 0.113 142)
XYZxyz(4.9773, 8.4790, 2.6704)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245E1F #591F5E
analogous
#445E1F #245E1F #1F5E3A
triadic
#245E1F #1F245E #5E1F24
tetradic
#245E1F #1F445E #591F5E #5E3A1F
square
#245E1F #1F445E #591F5E #5E3A1F
split-complementary
#245E1F #3A1F5E #5E1F44
monochromatic
#091708 #123010 #245E1F #368C2E #47BA3D

Accessibility & contrast

On white

7.79
#245E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#245E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245E1F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245E1F#FFFFFF#000000##FFFFFF
##245E1F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#1B5B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245e1f;
/* rgb */ color: rgb(36, 94, 31);
/* oklch */ color: oklch(42.8% 0.113 142.0);
Tailwind
colors: {
  custom: {
    50: '#668c5d',
    500: '#245e1f',
    950: '#000000',
  },
}
SCSS
$custom: #245e1f;
$custom-light: #668c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#245e1f",
  "rgb": {
    "r": 36,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 115.238,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.1127,
    "h": 142
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#245E1F
secondary
#8D4693
accent
#4EDACF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #245E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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