#305D3E#305D3E

#305D3E is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.7% C 0.072 H 152.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#305D3E
RGBrgb(48, 93, 62)
HSLhsl(139, 32%, 28%)
HSVhsv(139, 48%, 36%)
CMYKcmyk(48.4%, 0%, 33.3%, 63.5%)
CIE-LABlab(35.61, -23.32, 13.12)
CIE-LCHlch(35.61, 26.76, 150.64°)
OKLaboklab(43.67% -0.0636 0.0332)
OKLCHoklch(43.67% 0.072 152.5)
XYZxyz(6.0024, 8.8045, 5.9396)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D3E #5D304F
analogous
#385D30 #305D3E #305D55
triadic
#305D3E #3E305D #5D3E30
tetradic
#305D3E #30385D #5D304F #5D5530
square
#305D3E #30385D #5D304F #5D5530
split-complementary
#305D3E #55305D #5D3038
monochromatic
#0A140D #1B3523 #305D3E #458559 #5CAB75

Accessibility & contrast

On white

7.61
#305D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#305D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D3E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D3E#FFFFFF#000000##FFFFFF
##305D3E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573C
Deuteranopia (green-blind)
#565240
Tritanopia (blue-blind)
#275C55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305d3e;
/* rgb */ color: rgb(48, 93, 62);
/* oklch */ color: oklch(43.7% 0.072 152.5);
Tailwind
colors: {
  custom: {
    50: '#6b8b73',
    500: '#305d3e',
    950: '#000000',
  },
}
SCSS
$custom: #305d3e;
$custom-light: #6b8b73;
$custom-dark: #000000;
JSON
{
  "hex": "#305d3e",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 62
  },
  "hsl": {
    "h": 138.667,
    "s": 31.915,
    "l": 27.647
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.07177,
    "h": 152.5
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#305D3E
secondary
#8E5A7E
accent
#60A8C8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #305D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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