#306615#306615

#306615 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.125 H 137.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#306615
RGBrgb(48, 102, 21)
HSLhsl(100, 66%, 24%)
HSVhsv(100, 79%, 40%)
CMYKcmyk(52.9%, 0%, 79.4%, 60%)
CIE-LABlab(38.17, -33.25, 37.69)
CIE-LCHlch(38.17, 50.26, 131.42°)
OKLaboklab(45.6% -0.0921 0.0845)
OKLCHoklch(45.6% 0.125 137.5)
XYZxyz(6.1055, 10.1848, 2.3535)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306615 #4B1566
analogous
#596615 #306615 #156623
triadic
#306615 #153066 #661530
tetradic
#306615 #155966 #4B1566 #662315
square
#306615 #155966 #4B1566 #662315
split-complementary
#306615 #231566 #661559
monochromatic
#0C1905 #18330B #306615 #48991F #60CC2A

Accessibility & contrast

On white

6.91
#306615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#306615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306615
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306615#FFFFFF#000000##FFFFFF
##3066151.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#2C6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #306615;
/* rgb */ color: rgb(48, 102, 21);
/* oklch */ color: oklch(45.6% 0.125 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f9259',
    500: '#306615',
    950: '#000000',
  },
}
SCSS
$custom: #306615;
$custom-light: #6f9259;
$custom-dark: #000000;
JSON
{
  "hex": "#306615",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.12501,
    "h": 137.5
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#306615
secondary
#7C3A9D
accent
#3FE9B0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306615

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

Preview Lab → · Contrast checker → · Palette generator →

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