#245312#245312

#245312 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.108 H 138.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#245312
RGBrgb(36, 83, 18)
HSLhsl(103, 64%, 20%)
HSVhsv(103, 78%, 33%)
CMYKcmyk(56.6%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.89, -29.22, 31.45)
CIE-LCHlch(30.89, 42.93, 132.89°)
OKLaboklab(39.45% -0.0806 0.0712)
OKLCHoklch(39.45% 0.108 138.6)
XYZxyz(3.9298, 6.6050, 1.6399)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245312 #411253
analogous
#445312 #245312 #125321
triadic
#245312 #122453 #531224
tetradic
#245312 #124453 #411253 #532112
square
#245312 #124453 #411253 #532112
split-complementary
#245312 #211253 #531244
monochromatic
#0B1905 #0E2107 #245312 #3A851D #50B828

Accessibility & contrast

On white

9.05
#245312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#245312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245312
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245312#FFFFFF#000000##FFFFFF
##2453121.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#205046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #245312;
/* rgb */ color: rgb(36, 83, 18);
/* oklch */ color: oklch(39.5% 0.108 138.6);
Tailwind
colors: {
  custom: {
    50: '#648454',
    500: '#245312',
    950: '#000000',
  },
}
SCSS
$custom: #245312;
$custom-light: #648454;
$custom-dark: #000000;
JSON
{
  "hex": "#245312",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 103.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39451,
    "c": 0.10751,
    "h": 138.6
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#245312
secondary
#74358C
accent
#40E7B9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245312

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

Preview Lab → · Contrast checker → · Palette generator →

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