#306915#306915

#306915 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.129 H 137.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#306915
RGBrgb(48, 105, 21)
HSLhsl(101, 67%, 25%)
HSVhsv(101, 80%, 41%)
CMYKcmyk(54.3%, 0%, 80%, 58.8%)
CIE-LABlab(39.22, -34.53, 38.71)
CIE-LCHlch(39.22, 51.87, 131.73°)
OKLaboklab(46.45% -0.0956 0.0866)
OKLCHoklch(46.45% 0.129 137.8)
XYZxyz(6.4056, 10.7852, 2.4535)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306915 #4E1569
analogous
#5A6915 #306915 #156924
triadic
#306915 #153069 #691530
tetradic
#306915 #155A69 #4E1569 #692415
square
#306915 #155A69 #4E1569 #692415
split-complementary
#306915 #241569 #69155A
monochromatic
#0C1A05 #19360B #306915 #479C1F #5FCF29

Accessibility & contrast

On white

6.65
#306915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#306915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306915
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306915#FFFFFF#000000##FFFFFF
##3069151.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F03
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#2C6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306915;
/* rgb */ color: rgb(48, 105, 21);
/* oklch */ color: oklch(46.5% 0.129 137.8);
Tailwind
colors: {
  custom: {
    50: '#6f9459',
    500: '#306915',
    950: '#000000',
  },
}
SCSS
$custom: #306915;
$custom-light: #6f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#306915",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 100.714,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.12899,
    "h": 137.8
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#306915
secondary
#7F3AA0
accent
#3EEAB2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306915

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

Preview Lab → · Contrast checker → · Palette generator →

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