#305C2B#305C2B

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

Color values

HEX#305C2B
RGBrgb(48, 92, 43)
HSLhsl(114, 36%, 26%)
HSVhsv(114, 53%, 36%)
CMYKcmyk(47.8%, 0%, 53.3%, 63.9%)
CIE-LABlab(34.92, -26.29, 23.43)
CIE-LCHlch(34.92, 35.21, 138.29°)
OKLaboklab(43% -0.0717 0.0565)
OKLCHoklch(43% 0.091 141.8)
XYZxyz(5.4819, 8.4567, 3.6285)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C2B #572B5C
analogous
#495C2B #305C2B #2B5C3F
triadic
#305C2B #2B305C #5C2B30
tetradic
#305C2B #2B495C #572B5C #5C3F2B
square
#305C2B #2B495C #572B5C #5C3F2B
split-complementary
#305C2B #3F2B5C #5C2B49
monochromatic
#0B150A #1A3218 #305C2B #46863E #5CAF53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305C2B#FFFFFF#000000##FFFFFF
##305C2B1.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)
#5E5527
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#2B5951
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305c2b;
/* rgb */ color: rgb(48, 92, 43);
/* oklch */ color: oklch(43.0% 0.091 141.8);
Tailwind
colors: {
  custom: {
    50: '#6c8a65',
    500: '#305c2b',
    950: '#000000',
  },
}
SCSS
$custom: #305c2b;
$custom-light: #6c8a65;
$custom-dark: #000000;
JSON
{
  "hex": "#305c2b",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 113.878,
    "s": 36.296,
    "l": 26.471
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.09133,
    "h": 141.8
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#305C2B
secondary
#88558E
accent
#5BCCC1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #305C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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