#245012#245012

#245012 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.103 H 138.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#245012
RGBrgb(36, 80, 18)
HSLhsl(103, 63%, 19%)
HSVhsv(103, 78%, 31%)
CMYKcmyk(55%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.80, -27.89, 30.34)
CIE-LCHlch(29.80, 41.21, 132.59°)
OKLaboklab(38.56% -0.077 0.0688)
OKLCHoklch(38.56% 0.103 138.2)
XYZxyz(3.7053, 6.1558, 1.5651)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245012 #3E1250
analogous
#435012 #245012 #12501F
triadic
#245012 #122450 #501224
tetradic
#245012 #124350 #3E1250 #501F12
square
#245012 #124350 #3E1250 #501F12
split-complementary
#245012 #1F1250 #501243
monochromatic
#0B1906 #0E1E07 #245012 #3A821D #51B428

Accessibility & contrast

On white

9.41
#245012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#245012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245012
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245012#FFFFFF#000000##FFFFFF
##2450121.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534808
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#214D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #245012;
/* rgb */ color: rgb(36, 80, 18);
/* oklch */ color: oklch(38.6% 0.103 138.2);
Tailwind
colors: {
  custom: {
    50: '#648154',
    500: '#245012',
    950: '#000000',
  },
}
SCSS
$custom: #245012;
$custom-light: #648154;
$custom-dark: #000000;
JSON
{
  "hex": "#245012",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 102.581,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.10329,
    "h": 138.2
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#245012
secondary
#713589
accent
#41E6B6
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245012

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

Preview Lab → · Contrast checker → · Palette generator →

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