#305641#305641

#305641 is a dark, muted green. Relative luminance 0.077; OKLCH L 41.8% C 0.056 H 158.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#305641
RGBrgb(48, 86, 65)
HSLhsl(147, 28%, 26%)
HSVhsv(147, 44%, 34%)
CMYKcmyk(44.2%, 0%, 24.4%, 66.3%)
CIE-LABlab(33.28, -18.99, 8.06)
CIE-LCHlch(33.28, 20.63, 157.01°)
OKLaboklab(41.8% -0.0525 0.0207)
OKLCHoklch(41.8% 0.056 158.5)
XYZxyz(5.5005, 7.6652, 6.1897)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305641 #563045
analogous
#325630 #305641 #305654
triadic
#305641 #413056 #564130
tetradic
#305641 #303256 #563045 #565430
square
#305641 #303256 #563045 #565430
split-complementary
#305641 #543056 #563032
monochromatic
#0B140F #1A2F23 #305641 #467D5F #5CA47C

Accessibility & contrast

On white

8.29
#305641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#305641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305641
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305641#FFFFFF#000000##FFFFFF
##3056411.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555140
Deuteranopia (green-blind)
#4F4D42
Tritanopia (blue-blind)
#275650
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #305641;
/* rgb */ color: rgb(48, 86, 65);
/* oklch */ color: oklch(41.8% 0.056 158.5);
Tailwind
colors: {
  custom: {
    50: '#6a8675',
    500: '#305641',
    950: '#000000',
  },
}
SCSS
$custom: #305641;
$custom-light: #6a8675;
$custom-dark: #000000;
JSON
{
  "hex": "#305641",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 65
  },
  "hsl": {
    "h": 146.842,
    "s": 28.358,
    "l": 26.275
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.05639,
    "h": 158.5
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#305641
secondary
#875A73
accent
#6399C5
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #305641

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

Preview Lab → · Contrast checker → · Palette generator →

#305641 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva