#245811#245811

#245811 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.115 H 138.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#245811
RGBrgb(36, 88, 17)
HSLhsl(104, 68%, 21%)
HSVhsv(104, 81%, 35%)
CMYKcmyk(59.1%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.69, -31.45, 33.67)
CIE-LCHlch(32.69, 46.07, 133.05°)
OKLaboklab(40.93% -0.0867 0.0756)
OKLCHoklch(40.93% 0.115 138.9)
XYZxyz(4.3183, 7.3946, 1.7300)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245811 #451158
analogous
#475811 #245811 #115822
triadic
#245811 #112458 #581124
tetradic
#245811 #114758 #451158 #582211
square
#245811 #114758 #451158 #582211
split-complementary
#245811 #221158 #581147
monochromatic
#0A1A05 #0F2507 #245811 #398B1B #4EBF25

Accessibility & contrast

On white

8.47
#245811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#245811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245811
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245811#FFFFFF#000000##FFFFFF
##2458111.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#1F554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #245811;
/* rgb */ color: rgb(36, 88, 17);
/* oklch */ color: oklch(40.9% 0.115 138.9);
Tailwind
colors: {
  custom: {
    50: '#658855',
    500: '#245811',
    950: '#000000',
  },
}
SCSS
$custom: #245811;
$custom-light: #658855;
$custom-dark: #000000;
JSON
{
  "hex": "#245811",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 103.944,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40931,
    "c": 0.11504,
    "h": 138.9
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#245811
secondary
#783491
accent
#3DEABC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245811

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

Preview Lab → · Contrast checker → · Palette generator →

#245811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva