#306715#306715

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

Color values

HEX#306715
RGBrgb(48, 103, 21)
HSLhsl(100, 66%, 24%)
HSVhsv(100, 80%, 40%)
CMYKcmyk(53.4%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.52, -33.68, 38.03)
CIE-LCHlch(38.52, 50.80, 131.53°)
OKLaboklab(45.88% -0.0933 0.0852)
OKLCHoklch(45.88% 0.126 137.6)
XYZxyz(6.2043, 10.3826, 2.3864)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306715 #4C1567
analogous
#596715 #306715 #156723
triadic
#306715 #153067 #671530
tetradic
#306715 #155967 #4C1567 #672315
square
#306715 #155967 #4C1567 #672315
split-complementary
#306715 #231567 #671559
monochromatic
#0C1905 #18340B #306715 #489A1F #5FCD2A

Accessibility & contrast

On white

6.83
#306715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306715
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306715#FFFFFF#000000##FFFFFF
##3067151.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#2C6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306715;
/* rgb */ color: rgb(48, 103, 21);
/* oklch */ color: oklch(45.9% 0.126 137.6);
Tailwind
colors: {
  custom: {
    50: '#6f9359',
    500: '#306715',
    950: '#000000',
  },
}
SCSS
$custom: #306715;
$custom-light: #6f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#306715",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 100.244,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.12635,
    "h": 137.6
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#306715
secondary
#7D3A9E
accent
#3FE9B1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306715

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

Preview Lab → · Contrast checker → · Palette generator →

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