#306A40#306A40

#306A40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.3% C 0.091 H 150.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#306A40
RGBrgb(48, 106, 64)
HSLhsl(137, 38%, 30%)
HSVhsv(137, 55%, 42%)
CMYKcmyk(54.7%, 0%, 39.6%, 58.4%)
CIE-LABlab(40.09, -29.26, 17.96)
CIE-LCHlch(40.09, 34.33, 148.46°)
OKLaboklab(47.34% -0.0794 0.0448)
OKLCHoklch(47.34% 0.091 150.6)
XYZxyz(7.2979, 11.3060, 6.6472)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A40 #6A305A
analogous
#3D6A30 #306A40 #306A5D
triadic
#306A40 #40306A #6A4030
tetradic
#306A40 #303D6A #6A305A #6A5D30
square
#306A40 #303D6A #6A305A #6A5D30
split-complementary
#306A40 #5D306A #6A303D
monochromatic
#0A160D #1D4027 #306A40 #439459 #5EB676

Accessibility & contrast

On white

6.44
#306A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#306A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A40
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A40#FFFFFF#000000##FFFFFF
##306A401.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623D
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#23685F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306a40;
/* rgb */ color: rgb(48, 106, 64);
/* oklch */ color: oklch(47.3% 0.091 150.6);
Tailwind
colors: {
  custom: {
    50: '#6d9575',
    500: '#306a40',
    950: '#000000',
  },
}
SCSS
$custom: #306a40;
$custom-light: #6d9575;
$custom-dark: #000000;
JSON
{
  "hex": "#306a40",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 64
  },
  "hsl": {
    "h": 136.552,
    "s": 37.662,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.09119,
    "h": 150.6
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#306A40
secondary
#9B5A89
accent
#5AAECE
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #306A40

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

Preview Lab → · Contrast checker → · Palette generator →

#306A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva