#305B2E#305B2E

#305B2E is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.8% C 0.086 H 143.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#305B2E
RGBrgb(48, 91, 46)
HSLhsl(117, 33%, 27%)
HSVhsv(117, 49%, 36%)
CMYKcmyk(47.3%, 0%, 49.5%, 64.3%)
CIE-LABlab(34.62, -25.33, 21.34)
CIE-LCHlch(34.62, 33.12, 139.89°)
OKLaboklab(42.77% -0.069 0.052)
OKLCHoklch(42.77% 0.086 143)
XYZxyz(5.4529, 8.3075, 3.9004)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B2E #592E5B
analogous
#475B2E #305B2E #2E5B43
triadic
#305B2E #2E305B #5B2E30
tetradic
#305B2E #2E475B #592E5B #5B432E
square
#305B2E #2E475B #592E5B #5B432E
split-complementary
#305B2E #432E5B #5B2E47
monochromatic
#0B140A #1B3219 #305B2E #458443 #5CAB59

Accessibility & contrast

On white

7.89
#305B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#305B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B2E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B2E#FFFFFF#000000##FFFFFF
##305B2E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#2B5950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305b2e;
/* rgb */ color: rgb(48, 91, 46);
/* oklch */ color: oklch(42.8% 0.086 143.0);
Tailwind
colors: {
  custom: {
    50: '#6b8a67',
    500: '#305b2e',
    950: '#000000',
  },
}
SCSS
$custom: #305b2e;
$custom-light: #6b8a67;
$custom-dark: #000000;
JSON
{
  "hex": "#305b2e",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 117.333,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.08641,
    "h": 143
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#305B2E
secondary
#8A588D
accent
#5FC9C4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070B06
muted
#7A7C7A

Preview Lab

Preview with #305B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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