#306F27#306F27

#306F27 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.124 H 141.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#306F27
RGBrgb(48, 111, 39)
HSLhsl(113, 48%, 29%)
HSVhsv(113, 65%, 44%)
CMYKcmyk(56.8%, 0%, 64.9%, 56.5%)
CIE-LABlab(41.44, -35.36, 33.23)
CIE-LCHlch(41.44, 48.52, 136.78°)
OKLaboklab(48.34% -0.0966 0.0775)
OKLCHoklch(48.34% 0.124 141.2)
XYZxyz(7.2692, 12.1431, 3.8799)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F27 #66276F
analogous
#546F27 #306F27 #276F42
triadic
#306F27 #27306F #6F2730
tetradic
#306F27 #27546F #66276F #6F4227
square
#306F27 #27546F #66276F #6F4227
split-complementary
#306F27 #42276F #6F2754
monochromatic
#0A1708 #1C4217 #306F27 #449C37 #5DC14F

Accessibility & contrast

On white

6.12
#306F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#306F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F27
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F27#FFFFFF#000000##FFFFFF
##306F271.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651F
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f27;
/* rgb */ color: rgb(48, 111, 39);
/* oklch */ color: oklch(48.3% 0.124 141.2);
Tailwind
colors: {
  custom: {
    50: '#6f9964',
    500: '#306f27',
    950: '#000000',
  },
}
SCSS
$custom: #306f27;
$custom-light: #6f9964;
$custom-dark: #000000;
JSON
{
  "hex": "#306f27",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 39
  },
  "hsl": {
    "h": 112.5,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.12388,
    "h": 141.2
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#306F27
secondary
#9750A2
accent
#50D8C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #306F27

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

Preview Lab → · Contrast checker → · Palette generator →

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