#305F2E#305F2E

#305F2E is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.9% C 0.093 H 143.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#305F2E
RGBrgb(48, 95, 46)
HSLhsl(118, 35%, 28%)
HSVhsv(118, 52%, 37%)
CMYKcmyk(49.5%, 0%, 51.6%, 62.7%)
CIE-LABlab(36.00, -27.26, 23.08)
CIE-LCHlch(36.00, 35.71, 139.75°)
OKLaboklab(43.9% -0.0742 0.0559)
OKLCHoklch(43.9% 0.093 143)
XYZxyz(5.8040, 9.0097, 4.0174)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F2E #5D2E5F
analogous
#485F2E #305F2E #2E5F44
triadic
#305F2E #2E305F #5F2E30
tetradic
#305F2E #2E485F #5D2E5F #5F442E
square
#305F2E #2E485F #5D2E5F #5F442E
split-complementary
#305F2E #442E5F #5F2E48
monochromatic
#0A150A #1B361A #305F2E #458842 #5CAF59

Accessibility & contrast

On white

7.49
#305F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#305F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F2E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F2E#FFFFFF#000000##FFFFFF
##305F2E1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61572A
Deuteranopia (green-blind)
#5A5331
Tritanopia (blue-blind)
#2A5C53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305f2e;
/* rgb */ color: rgb(48, 95, 46);
/* oklch */ color: oklch(43.9% 0.093 143.0);
Tailwind
colors: {
  custom: {
    50: '#6c8d68',
    500: '#305f2e',
    950: '#000000',
  },
}
SCSS
$custom: #305f2e;
$custom-light: #6c8d68;
$custom-dark: #000000;
JSON
{
  "hex": "#305f2e",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 117.551,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.439,
    "c": 0.09295,
    "h": 143
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#305F2E
secondary
#8E5891
accent
#5DCBC6
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #305F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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