#245912#245912

#245912 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.116 H 139.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#245912
RGBrgb(36, 89, 18)
HSLhsl(105, 66%, 21%)
HSVhsv(105, 80%, 35%)
CMYKcmyk(59.6%, 0%, 79.8%, 65.1%)
CIE-LABlab(33.06, -31.80, 33.63)
CIE-LCHlch(33.06, 46.28, 133.39°)
OKLaboklab(41.24% -0.0875 0.0757)
OKLCHoklch(41.24% 0.116 139.1)
XYZxyz(4.4089, 7.5631, 1.7996)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245912 #471259
analogous
#475912 #245912 #125923
triadic
#245912 #122459 #591224
tetradic
#245912 #124759 #471259 #592312
square
#245912 #124759 #471259 #592312
split-complementary
#245912 #231259 #591247
monochromatic
#0A1905 #0F2608 #245912 #398C1C #4DBF27

Accessibility & contrast

On white

8.36
#245912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#245912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245912
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245912#FFFFFF#000000##FFFFFF
##2459121.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5005
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#1F564B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #245912;
/* rgb */ color: rgb(36, 89, 18);
/* oklch */ color: oklch(41.2% 0.116 139.1);
Tailwind
colors: {
  custom: {
    50: '#668855',
    500: '#245912',
    950: '#000000',
  },
}
SCSS
$custom: #245912;
$custom-light: #668855;
$custom-dark: #000000;
JSON
{
  "hex": "#245912",
  "rgb": {
    "r": 36,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 104.789,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.11575,
    "h": 139.1
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#245912
secondary
#7A3592
accent
#3FE9BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245912

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

Preview Lab → · Contrast checker → · Palette generator →

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