#306F13#306F13

#306F13 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.2% C 0.138 H 138.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#306F13
RGBrgb(48, 111, 19)
HSLhsl(101, 71%, 25%)
HSVhsv(101, 83%, 44%)
CMYKcmyk(56.8%, 0%, 82.9%, 56.5%)
CIE-LABlab(41.29, -37.13, 41.39)
CIE-LCHlch(41.29, 55.61, 131.89°)
OKLaboklab(48.16% -0.1027 0.0919)
OKLCHoklch(48.16% 0.138 138.2)
XYZxyz(7.0207, 12.0437, 2.5707)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F13 #52136F
analogous
#5E6F13 #306F13 #136F24
triadic
#306F13 #13306F #6F1330
tetradic
#306F13 #135E6F #52136F #6F2413
square
#306F13 #135E6F #52136F #6F2413
split-complementary
#306F13 #24136F #6F135E
monochromatic
#0B1A04 #193B0A #306F13 #47A31C #5DD825

Accessibility & contrast

On white

6.16
#306F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#306F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F13
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F13#FFFFFF#000000##FFFFFF
##306F131.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#2B6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f13;
/* rgb */ color: rgb(48, 111, 19);
/* oklch */ color: oklch(48.2% 0.138 138.2);
Tailwind
colors: {
  custom: {
    50: '#709959',
    500: '#306f13',
    950: '#000000',
  },
}
SCSS
$custom: #306f13;
$custom-light: #709959;
$custom-dark: #000000;
JSON
{
  "hex": "#306f13",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 101.087,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.13783,
    "h": 138.2
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#306F13
secondary
#8338A6
accent
#3AEEB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F13

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

Preview Lab → · Contrast checker → · Palette generator →

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