#245F1B#245F1B

#245F1B is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.117 H 141.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#245F1B
RGBrgb(36, 95, 27)
HSLhsl(112, 56%, 24%)
HSVhsv(112, 72%, 37%)
CMYKcmyk(62.1%, 0%, 71.6%, 62.7%)
CIE-LABlab(35.28, -33.46, 32.03)
CIE-LCHlch(35.28, 46.32, 136.26°)
OKLaboklab(43.09% -0.0914 0.0737)
OKLCHoklch(43.09% 0.117 141.1)
XYZxyz(5.0174, 8.6382, 2.4396)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F1B #561B5F
analogous
#465F1B #245F1B #1B5F34
triadic
#245F1B #1B245F #5F1B24
tetradic
#245F1B #1B465F #561B5F #5F341B
square
#245F1B #1B465F #561B5F #5F341B
split-complementary
#245F1B #341B5F #5F1B46
monochromatic
#091807 #122F0D #245F1B #368F29 #48BE36

Accessibility & contrast

On white

7.70
#245F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#245F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245F1B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245F1B#FFFFFF#000000##FFFFFF
##245F1B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625612
Deuteranopia (green-blind)
#5A5121
Tritanopia (blue-blind)
#1C5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245f1b;
/* rgb */ color: rgb(36, 95, 27);
/* oklch */ color: oklch(43.1% 0.117 141.1);
Tailwind
colors: {
  custom: {
    50: '#668d5b',
    500: '#245f1b',
    950: '#000000',
  },
}
SCSS
$custom: #245f1b;
$custom-light: #668d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#245f1b",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 112.059,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.11743,
    "h": 141.1
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#245F1B
secondary
#8A4195
accent
#49DFCB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #245F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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