#306F36#306F36

#306F36 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.6% C 0.110 H 145.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#306F36
RGBrgb(48, 111, 54)
HSLhsl(126, 40%, 31%)
HSVhsv(126, 57%, 44%)
CMYKcmyk(56.8%, 0%, 51.4%, 56.5%)
CIE-LABlab(41.63, -33.30, 25.62)
CIE-LCHlch(41.63, 42.01, 142.42°)
OKLaboklab(48.55% -0.0903 0.0621)
OKLCHoklch(48.55% 0.11 145.5)
XYZxyz(7.5688, 12.2630, 5.4575)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F36 #6F3069
analogous
#496F30 #306F36 #306F55
triadic
#306F36 #36306F #6F3630
tetradic
#306F36 #30496F #6F3069 #6F5530
square
#306F36 #30496F #6F3069 #6F5530
split-complementary
#306F36 #55306F #6F3049
monochromatic
#0B1A0C #1E4421 #306F36 #429A4B #5FBA68

Accessibility & contrast

On white

6.08
#306F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#306F36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F36
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F36#FFFFFF#000000##FFFFFF
##306F361.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716631
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#256C62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f36;
/* rgb */ color: rgb(48, 111, 54);
/* oklch */ color: oklch(48.6% 0.110 145.5);
Tailwind
colors: {
  custom: {
    50: '#6e996e',
    500: '#306f36',
    950: '#000000',
  },
}
SCSS
$custom: #306f36;
$custom-light: #6e996e;
$custom-dark: #000000;
JSON
{
  "hex": "#306f36",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 54
  },
  "hsl": {
    "h": 125.714,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.1096,
    "h": 145.5
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#306F36
secondary
#A05B9A
accent
#58C4D0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #306F36

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

Preview Lab → · Contrast checker → · Palette generator →

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