#306814#306814

#306814 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.128 H 137.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#306814
RGBrgb(48, 104, 20)
HSLhsl(100, 68%, 24%)
HSVhsv(100, 81%, 41%)
CMYKcmyk(53.8%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.86, -34.18, 38.73)
CIE-LCHlch(38.86, 51.66, 131.42°)
OKLaboklab(46.16% -0.0947 0.0865)
OKLCHoklch(46.16% 0.128 137.6)
XYZxyz(6.2953, 10.5791, 2.3719)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306814 #4C1468
analogous
#5A6814 #306814 #146822
triadic
#306814 #143068 #681430
tetradic
#306814 #145A68 #4C1468 #682214
square
#306814 #145A68 #4C1468 #682214
split-complementary
#306814 #221468 #68145A
monochromatic
#0C1A05 #18350A #306814 #489B1E #5FCF28

Accessibility & contrast

On white

6.74
#306814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#306814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306814
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306814#FFFFFF#000000##FFFFFF
##3068141.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E02
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#2C6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306814;
/* rgb */ color: rgb(48, 104, 20);
/* oklch */ color: oklch(46.2% 0.128 137.6);
Tailwind
colors: {
  custom: {
    50: '#6f9459',
    500: '#306814',
    950: '#000000',
  },
}
SCSS
$custom: #306814;
$custom-light: #6f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#306814",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 100,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46161,
    "c": 0.12826,
    "h": 137.6
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#306814
secondary
#7D399F
accent
#3DEBB1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306814

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

Preview Lab → · Contrast checker → · Palette generator →

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