#305C2C#305C2C

#305C2C is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.090 H 142.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#305C2C
RGBrgb(48, 92, 44)
HSLhsl(115, 35%, 27%)
HSVhsv(115, 52%, 36%)
CMYKcmyk(47.8%, 0%, 52.2%, 63.9%)
CIE-LABlab(34.93, -26.13, 22.88)
CIE-LCHlch(34.93, 34.73, 138.80°)
OKLaboklab(43.01% -0.0713 0.0554)
OKLCHoklch(43.01% 0.09 142.1)
XYZxyz(5.5004, 8.4642, 3.7263)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C2C #582C5C
analogous
#485C2C #305C2C #2C5C40
triadic
#305C2C #2C305C #5C2C30
tetradic
#305C2C #2C485C #582C5C #5C402C
square
#305C2C #2C485C #582C5C #5C402C
split-complementary
#305C2C #402C5C #5C2C48
monochromatic
#0B150A #1A3318 #305C2C #468540 #5CAE55

Accessibility & contrast

On white

7.80
#305C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#305C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C2C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C2C#FFFFFF#000000##FFFFFF
##305C2C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5528
Deuteranopia (green-blind)
#58512F
Tritanopia (blue-blind)
#2B5951
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305c2c;
/* rgb */ color: rgb(48, 92, 44);
/* oklch */ color: oklch(43.0% 0.090 142.1);
Tailwind
colors: {
  custom: {
    50: '#6c8a66',
    500: '#305c2c',
    950: '#000000',
  },
}
SCSS
$custom: #305c2c;
$custom-light: #6c8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#305c2c",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 44
  },
  "hsl": {
    "h": 115,
    "s": 35.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.09025,
    "h": 142.1
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#305C2C
secondary
#89568E
accent
#5CCBC2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #305C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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