#305D1D#305D1D

#305D1D is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.1% C 0.107 H 137.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#305D1D
RGBrgb(48, 93, 29)
HSLhsl(102, 52%, 24%)
HSVhsv(102, 69%, 36%)
CMYKcmyk(48.4%, 0%, 68.8%, 63.5%)
CIE-LABlab(35.09, -28.55, 31.03)
CIE-LCHlch(35.09, 42.17, 132.62°)
OKLaboklab(43.09% -0.0788 0.0717)
OKLCHoklch(43.09% 0.107 137.7)
XYZxyz(5.3549, 8.5454, 2.5294)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D1D #4A1D5D
analogous
#505D1D #305D1D #1D5D2A
triadic
#305D1D #1D305D #5D1D30
tetradic
#305D1D #1D505D #4A1D5D #5D2A1D
square
#305D1D #1D505D #4A1D5D #5D2A1D
split-complementary
#305D1D #2A1D5D #5D1D50
monochromatic
#0C1707 #182E0E #305D1D #488C2C #60BA3A

Accessibility & contrast

On white

7.75
#305D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#305D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D1D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D1D#FFFFFF#000000##FFFFFF
##305D1D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605515
Deuteranopia (green-blind)
#5A5122
Tritanopia (blue-blind)
#2D5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305d1d;
/* rgb */ color: rgb(48, 93, 29);
/* oklch */ color: oklch(43.1% 0.107 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d8b5c',
    500: '#305d1d',
    950: '#000000',
  },
}
SCSS
$custom: #305d1d;
$custom-light: #6d8b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#305d1d",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 102.188,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.10654,
    "h": 137.7
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#305D1D
secondary
#7B4492
accent
#4CDCB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305D1D

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

Preview Lab → · Contrast checker → · Palette generator →

#305D1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva