#305738#305738

#305738 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.8% C 0.068 H 149.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#305738
RGBrgb(48, 87, 56)
HSLhsl(132, 29%, 26%)
HSVhsv(132, 45%, 34%)
CMYKcmyk(44.8%, 0%, 35.6%, 65.9%)
CIE-LABlab(33.41, -21.48, 13.81)
CIE-LCHlch(33.41, 25.54, 147.27°)
OKLaboklab(41.85% -0.0586 0.0347)
OKLCHoklch(41.85% 0.068 149.3)
XYZxyz(5.3406, 7.7300, 4.9512)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305738 #57304F
analogous
#3C5730 #305738 #30574C
triadic
#305738 #383057 #573830
tetradic
#305738 #303C57 #57304F #574C30
square
#305738 #303C57 #57304F #574C30
split-complementary
#305738 #4C3057 #57303C
monochromatic
#0B140D #1A301F #305738 #467E51 #5CA56B

Accessibility & contrast

On white

8.25
#305738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#305738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305738
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305738#FFFFFF#000000##FFFFFF
##3057381.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585136
Deuteranopia (green-blind)
#524D3A
Tritanopia (blue-blind)
#2A564F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #305738;
/* rgb */ color: rgb(48, 87, 56);
/* oklch */ color: oklch(41.8% 0.068 149.3);
Tailwind
colors: {
  custom: {
    50: '#6a866e',
    500: '#305738',
    950: '#000000',
  },
}
SCSS
$custom: #305738;
$custom-light: #6a866e;
$custom-dark: #000000;
JSON
{
  "hex": "#305738",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 56
  },
  "hsl": {
    "h": 132.308,
    "s": 28.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.06809,
    "h": 149.3
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#305738
secondary
#885A7F
accent
#63B1C5
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#070B07
muted
#7A7C7A

Preview Lab

Preview with #305738

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

Preview Lab → · Contrast checker → · Palette generator →

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