#305F41#305F41

#305F41 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.3% C 0.072 H 154.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#305F41
RGBrgb(48, 95, 65)
HSLhsl(142, 33%, 28%)
HSVhsv(142, 49%, 37%)
CMYKcmyk(49.5%, 0%, 31.6%, 62.7%)
CIE-LABlab(36.36, -23.70, 12.33)
CIE-LCHlch(36.36, 26.71, 152.52°)
OKLaboklab(44.3% -0.0648 0.0313)
OKLCHoklch(44.3% 0.072 154.2)
XYZxyz(6.2648, 9.1940, 6.4445)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F41 #5F304E
analogous
#365F30 #305F41 #305F58
triadic
#305F41 #41305F #5F4130
tetradic
#305F41 #30365F #5F304E #5F5830
square
#305F41 #30365F #5F304E #5F5830
split-complementary
#305F41 #58305F #5F3036
monochromatic
#0A140E #1B3625 #305F41 #45885D #5DAD7A

Accessibility & contrast

On white

7.40
#305F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#305F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F41
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F41#FFFFFF#000000##FFFFFF
##305F411.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F583F
Deuteranopia (green-blind)
#585443
Tritanopia (blue-blind)
#255E57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305f41;
/* rgb */ color: rgb(48, 95, 65);
/* oklch */ color: oklch(44.3% 0.072 154.2);
Tailwind
colors: {
  custom: {
    50: '#6b8d75',
    500: '#305f41',
    950: '#000000',
  },
}
SCSS
$custom: #305f41;
$custom-light: #6b8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#305f41",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 65
  },
  "hsl": {
    "h": 141.702,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.07191,
    "h": 154.2
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#305F41
secondary
#905A7D
accent
#5FA3C9
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #305F41

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

Preview Lab → · Contrast checker → · Palette generator →

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