#245317#245317

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

Color values

HEX#245317
RGBrgb(36, 83, 23)
HSLhsl(107, 57%, 21%)
HSVhsv(107, 72%, 33%)
CMYKcmyk(56.6%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.93, -28.74, 29.23)
CIE-LCHlch(30.93, 40.99, 134.51°)
OKLaboklab(39.5% -0.0789 0.0672)
OKLCHoklch(39.5% 0.104 139.6)
XYZxyz(3.9753, 6.6231, 1.8794)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245317 #461753
analogous
#425317 #245317 #175328
triadic
#245317 #172453 #531724
tetradic
#245317 #174253 #461753 #532817
square
#245317 #174253 #461753 #532817
split-complementary
#245317 #281753 #531742
monochromatic
#0A1807 #0F230A #245317 #398324 #4EB332

Accessibility & contrast

On white

9.03
#245317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245317
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245317#FFFFFF#000000##FFFFFF
##2453171.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#1F5047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #245317;
/* rgb */ color: rgb(36, 83, 23);
/* oklch */ color: oklch(39.5% 0.104 139.6);
Tailwind
colors: {
  custom: {
    50: '#648457',
    500: '#245317',
    950: '#000000',
  },
}
SCSS
$custom: #245317;
$custom-light: #648457;
$custom-dark: #000000;
JSON
{
  "hex": "#245317",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 107,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.395,
    "c": 0.10368,
    "h": 139.6
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#245317
secondary
#793C8A
accent
#48E0BF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245317

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

Preview Lab → · Contrast checker → · Palette generator →

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