#306B15#306B15

#306B15 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.132 H 138.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#306B15
RGBrgb(48, 107, 21)
HSLhsl(101, 67%, 25%)
HSVhsv(101, 80%, 42%)
CMYKcmyk(55.1%, 0%, 80.4%, 58%)
CIE-LABlab(39.91, -35.36, 39.39)
CIE-LCHlch(39.91, 52.93, 131.92°)
OKLaboklab(47.03% -0.0978 0.088)
OKLCHoklch(47.03% 0.132 138)
XYZxyz(6.6117, 11.1974, 2.5222)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306B15 #50156B
analogous
#5B6B15 #306B15 #156B25
triadic
#306B15 #15306B #6B1530
tetradic
#306B15 #155B6B #50156B #6B2515
square
#306B15 #155B6B #50156B #6B2515
split-complementary
#306B15 #25156B #6B155B
monochromatic
#0B1A05 #19380B #306B15 #479E1F #5ED129

Accessibility & contrast

On white

6.48
#306B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#306B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306B15
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306B15#FFFFFF#000000##FFFFFF
##306B151.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6102
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#2B675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306b15;
/* rgb */ color: rgb(48, 107, 21);
/* oklch */ color: oklch(47.0% 0.132 138.0);
Tailwind
colors: {
  custom: {
    50: '#6f965a',
    500: '#306b15',
    950: '#000000',
  },
}
SCSS
$custom: #306b15;
$custom-light: #6f965a;
$custom-dark: #000000;
JSON
{
  "hex": "#306b15",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 101.163,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.1316,
    "h": 138
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#306B15
secondary
#813AA2
accent
#3EEAB4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306B15

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

Preview Lab → · Contrast checker → · Palette generator →

#306B15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva