#245512#245512

#245512 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.110 H 138.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#245512
RGBrgb(36, 85, 18)
HSLhsl(104, 65%, 20%)
HSVhsv(104, 79%, 33%)
CMYKcmyk(57.6%, 0%, 78.8%, 66.7%)
CIE-LABlab(31.61, -30.09, 32.19)
CIE-LCHlch(31.61, 44.06, 133.07°)
OKLaboklab(40.05% -0.0829 0.0727)
OKLCHoklch(40.05% 0.11 138.8)
XYZxyz(4.0851, 6.9154, 1.6917)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245512 #431255
analogous
#455512 #245512 #125522
triadic
#245512 #122455 #551224
tetradic
#245512 #124555 #431255 #552212
square
#245512 #124555 #431255 #552212
split-complementary
#245512 #221255 #551245
monochromatic
#0B1905 #0F2207 #245512 #39881D #4FBA27

Accessibility & contrast

On white

8.81
#245512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#245512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245512
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245512#FFFFFF#000000##FFFFFF
##2455121.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#205248
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #245512;
/* rgb */ color: rgb(36, 85, 18);
/* oklch */ color: oklch(40.0% 0.110 138.8);
Tailwind
colors: {
  custom: {
    50: '#658555',
    500: '#245512',
    950: '#000000',
  },
}
SCSS
$custom: #245512;
$custom-light: #658555;
$custom-dark: #000000;
JSON
{
  "hex": "#245512",
  "rgb": {
    "r": 36,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 103.881,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40047,
    "c": 0.1103,
    "h": 138.8
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#245512
secondary
#76358E
accent
#40E8BB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245512

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

Preview Lab → · Contrast checker → · Palette generator →

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