#305E1D#305E1D

#305E1D is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.4% C 0.108 H 137.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#305E1D
RGBrgb(48, 94, 29)
HSLhsl(102, 53%, 24%)
HSVhsv(102, 69%, 37%)
CMYKcmyk(48.9%, 0%, 69.1%, 63.1%)
CIE-LABlab(35.44, -29.01, 31.41)
CIE-LCHlch(35.44, 42.76, 132.73°)
OKLaboklab(43.37% -0.0801 0.0725)
OKLCHoklch(43.37% 0.108 137.8)
XYZxyz(5.4432, 8.7221, 2.5589)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E1D #4B1D5E
analogous
#515E1D #305E1D #1D5E2B
triadic
#305E1D #1D305E #5E1D30
tetradic
#305E1D #1D515E #4B1D5E #5E2B1D
square
#305E1D #1D515E #4B1D5E #5E2B1D
split-complementary
#305E1D #2B1D5E #5E1D51
monochromatic
#0C1707 #182F0F #305E1D #488D2B #60BC3A

Accessibility & contrast

On white

7.65
#305E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#305E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E1D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E1D#FFFFFF#000000##FFFFFF
##305E1D1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615615
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#2D5B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e1d;
/* rgb */ color: rgb(48, 94, 29);
/* oklch */ color: oklch(43.4% 0.108 137.8);
Tailwind
colors: {
  custom: {
    50: '#6d8c5c',
    500: '#305e1d',
    950: '#000000',
  },
}
SCSS
$custom: #305e1d;
$custom-light: #6d8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#305e1d",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 29
  },
  "hsl": {
    "h": 102.462,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.10801,
    "h": 137.8
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#305E1D
secondary
#7C4493
accent
#4CDCB2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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