#306716#306716

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

Color values

HEX#306716
RGBrgb(48, 103, 22)
HSLhsl(101, 65%, 25%)
HSVhsv(101, 79%, 40%)
CMYKcmyk(53.4%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.53, -33.61, 37.66)
CIE-LCHlch(38.53, 50.47, 131.75°)
OKLaboklab(45.89% -0.093 0.0846)
OKLCHoklch(45.89% 0.126 137.7)
XYZxyz(6.2138, 10.3863, 2.4362)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306716 #4D1667
analogous
#596716 #306716 #166725
triadic
#306716 #163067 #671630
tetradic
#306716 #165967 #4D1667 #672516
square
#306716 #165967 #4D1667 #672516
split-complementary
#306716 #251667 #671659
monochromatic
#0C1905 #18350B #306716 #489921 #5FCC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306716#FFFFFF#000000##FFFFFF
##3067161.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)
#6B5E06
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#2C6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306716;
/* rgb */ color: rgb(48, 103, 22);
/* oklch */ color: oklch(45.9% 0.126 137.7);
Tailwind
colors: {
  custom: {
    50: '#6f935a',
    500: '#306716',
    950: '#000000',
  },
}
SCSS
$custom: #306716;
$custom-light: #6f935a;
$custom-dark: #000000;
JSON
{
  "hex": "#306716",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 100.741,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.12573,
    "h": 137.7
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#306716
secondary
#7E3B9E
accent
#40E8B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306716

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

Preview Lab → · Contrast checker → · Palette generator →

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