#306718#306718

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

Color values

HEX#306718
RGBrgb(48, 103, 24)
HSLhsl(102, 62%, 25%)
HSVhsv(102, 77%, 40%)
CMYKcmyk(53.4%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.54, -33.45, 36.88)
CIE-LCHlch(38.54, 49.79, 132.21°)
OKLaboklab(45.91% -0.0925 0.0833)
OKLCHoklch(45.91% 0.124 138)
XYZxyz(6.2338, 10.3944, 2.5418)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306718 #4F1867
analogous
#586718 #306718 #186727
triadic
#306718 #183067 #671830
tetradic
#306718 #185867 #4F1867 #672718
square
#306718 #185867 #4F1867 #672718
split-complementary
#306718 #271867 #671858
monochromatic
#0C1906 #19350C #306718 #479924 #5ECA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306718#FFFFFF#000000##FFFFFF
##3067181.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)
#6A5E0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#2C6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306718;
/* rgb */ color: rgb(48, 103, 24);
/* oklch */ color: oklch(45.9% 0.124 138.0);
Tailwind
colors: {
  custom: {
    50: '#6f935b',
    500: '#306718',
    950: '#000000',
  },
}
SCSS
$custom: #306718;
$custom-light: #6f935b;
$custom-dark: #000000;
JSON
{
  "hex": "#306718",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 101.772,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45905,
    "c": 0.12443,
    "h": 138
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#306718
secondary
#803E9D
accent
#43E5B4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306718

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

Preview Lab → · Contrast checker → · Palette generator →

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