#305E2B#305E2B

#305E2B is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.6% C 0.095 H 141.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#305E2B
RGBrgb(48, 94, 43)
HSLhsl(114, 37%, 27%)
HSVhsv(114, 54%, 37%)
CMYKcmyk(48.9%, 0%, 54.3%, 63.1%)
CIE-LABlab(35.61, -27.24, 24.28)
CIE-LCHlch(35.61, 36.49, 138.29°)
OKLaboklab(43.57% -0.0743 0.0584)
OKLCHoklch(43.57% 0.095 141.8)
XYZxyz(5.6574, 8.8078, 3.6870)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E2B #592B5E
analogous
#4A5E2B #305E2B #2B5E40
triadic
#305E2B #2B305E #5E2B30
tetradic
#305E2B #2B4A5E #592B5E #5E402B
square
#305E2B #2B4A5E #592B5E #5E402B
split-complementary
#305E2B #402B5E #5E2B4A
monochromatic
#0B150A #1B3418 #305E2B #45883E #5CB053

Accessibility & contrast

On white

7.60
#305E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305E2B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E2B#FFFFFF#000000##FFFFFF
##305E2B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#2B5B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305e2b;
/* rgb */ color: rgb(48, 94, 43);
/* oklch */ color: oklch(43.6% 0.095 141.8);
Tailwind
colors: {
  custom: {
    50: '#6c8c65',
    500: '#305e2b',
    950: '#000000',
  },
}
SCSS
$custom: #305e2b;
$custom-light: #6c8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#305e2b",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 114.118,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.09454,
    "h": 141.8
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#305E2B
secondary
#8A5590
accent
#5BCDC2
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #305E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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