#245315#245315

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

Color values

HEX#245315
RGBrgb(36, 83, 21)
HSLhsl(105, 60%, 20%)
HSVhsv(105, 75%, 33%)
CMYKcmyk(56.6%, 0%, 74.7%, 67.5%)
CIE-LABlab(30.91, -28.94, 30.15)
CIE-LCHlch(30.91, 41.79, 133.83°)
OKLaboklab(39.48% -0.0796 0.0689)
OKLCHoklch(39.48% 0.105 139.1)
XYZxyz(3.9560, 6.6154, 1.7778)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245315 #441553
analogous
#435315 #245315 #155325
triadic
#245315 #152453 #531524
tetradic
#245315 #154353 #441553 #532515
square
#245315 #154353 #441553 #532515
split-complementary
#245315 #251553 #531543
monochromatic
#0B1806 #0F2209 #245315 #398421 #4EB52E

Accessibility & contrast

On white

9.04
#245315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245315
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245315#FFFFFF#000000##FFFFFF
##2453151.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#50471B
Tritanopia (blue-blind)
#205047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #245315;
/* rgb */ color: rgb(36, 83, 21);
/* oklch */ color: oklch(39.5% 0.105 139.1);
Tailwind
colors: {
  custom: {
    50: '#648456',
    500: '#245315',
    950: '#000000',
  },
}
SCSS
$custom: #245315;
$custom-light: #648456;
$custom-dark: #000000;
JSON
{
  "hex": "#245315",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 105.484,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.10529,
    "h": 139.1
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#245315
secondary
#77398B
accent
#45E3BD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245315

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

Preview Lab → · Contrast checker → · Palette generator →

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