#306919#306919

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

Color values

HEX#306919
RGBrgb(48, 105, 25)
HSLhsl(103, 62%, 25%)
HSVhsv(103, 76%, 41%)
CMYKcmyk(54.3%, 0%, 76.2%, 58.8%)
CIE-LABlab(39.24, -34.22, 37.18)
CIE-LCHlch(39.24, 50.53, 132.63°)
OKLaboklab(46.49% -0.0945 0.0841)
OKLCHoklch(46.49% 0.126 138.3)
XYZxyz(6.4457, 10.8012, 2.6647)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306919 #521969
analogous
#586919 #306919 #19692A
triadic
#306919 #193069 #691930
tetradic
#306919 #195869 #521969 #692A19
square
#306919 #195869 #521969 #692A19
split-complementary
#306919 #2A1969 #691958
monochromatic
#0B1906 #19380D #306919 #479A25 #5DCC31

Accessibility & contrast

On white

6.64
#306919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306919
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306919#FFFFFF#000000##FFFFFF
##3069191.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#2B6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306919;
/* rgb */ color: rgb(48, 105, 25);
/* oklch */ color: oklch(46.5% 0.126 138.3);
Tailwind
colors: {
  custom: {
    50: '#6f945b',
    500: '#306919',
    950: '#000000',
  },
}
SCSS
$custom: #306919;
$custom-light: #6f945b;
$custom-dark: #000000;
JSON
{
  "hex": "#306919",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 102.75,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46485,
    "c": 0.12645,
    "h": 138.3
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

primary
#306919
secondary
#833F9F
accent
#43E5B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306919

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

Preview Lab → · Contrast checker → · Palette generator →

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