#306717#306717

#306717 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.125 H 137.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#306717
RGBrgb(48, 103, 23)
HSLhsl(101, 63%, 25%)
HSVhsv(101, 78%, 40%)
CMYKcmyk(53.4%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.53, -33.53, 37.27)
CIE-LCHlch(38.53, 50.13, 131.98°)
OKLaboklab(45.9% -0.0927 0.0839)
OKLCHoklch(45.9% 0.125 137.9)
XYZxyz(6.2236, 10.3903, 2.4880)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306717 #4E1767
analogous
#586717 #306717 #176726
triadic
#306717 #173067 #671730
tetradic
#306717 #175867 #4E1767 #672617
square
#306717 #175867 #4E1767 #672617
split-complementary
#306717 #261767 #671758
monochromatic
#0C1906 #19350C #306717 #479922 #5FCB2D

Accessibility & contrast

On white

6.82
#306717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#306717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306717
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306717#FFFFFF#000000##FFFFFF
##3067171.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E08
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#2C6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306717;
/* rgb */ color: rgb(48, 103, 23);
/* oklch */ color: oklch(45.9% 0.125 137.9);
Tailwind
colors: {
  custom: {
    50: '#6f935a',
    500: '#306717',
    950: '#000000',
  },
}
SCSS
$custom: #306717;
$custom-light: #6f935a;
$custom-dark: #000000;
JSON
{
  "hex": "#306717",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 101.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.12509,
    "h": 137.9
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#306717
secondary
#7F3D9D
accent
#41E7B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306717

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

Preview Lab → · Contrast checker → · Palette generator →

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