#245E1B#245E1B

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

Color values

HEX#245E1B
RGBrgb(36, 94, 27)
HSLhsl(112, 55%, 24%)
HSVhsv(112, 71%, 37%)
CMYKcmyk(61.7%, 0%, 71.3%, 63.1%)
CIE-LABlab(34.92, -33.05, 31.64)
CIE-LCHlch(34.92, 45.75, 136.24°)
OKLaboklab(42.8% -0.0903 0.0729)
OKLCHoklch(42.8% 0.116 141.1)
XYZxyz(4.9279, 8.4592, 2.4098)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245E1B #551B5E
analogous
#455E1B #245E1B #1B5E33
triadic
#245E1B #1B245E #5E1B24
tetradic
#245E1B #1B455E #551B5E #5E331B
square
#245E1B #1B455E #551B5E #5E331B
split-complementary
#245E1B #331B5E #5E1B45
monochromatic
#091807 #122E0D #245E1B #368E29 #48BD36

Accessibility & contrast

On white

7.80
#245E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#245E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245E1B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245E1B#FFFFFF#000000##FFFFFF
##245E1B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#1C5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245e1b;
/* rgb */ color: rgb(36, 94, 27);
/* oklch */ color: oklch(42.8% 0.116 141.1);
Tailwind
colors: {
  custom: {
    50: '#668c5b',
    500: '#245e1b',
    950: '#000000',
  },
}
SCSS
$custom: #245e1b;
$custom-light: #668c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#245e1b",
  "rgb": {
    "r": 36,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 111.94,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.11605,
    "h": 141.1
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#245E1B
secondary
#894194
accent
#49DFCB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #245E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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