#306719#306719

#306719 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.124 H 138.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#306719
RGBrgb(48, 103, 25)
HSLhsl(102, 61%, 25%)
HSVhsv(102, 76%, 40%)
CMYKcmyk(53.4%, 0%, 75.7%, 59.6%)
CIE-LABlab(38.55, -33.37, 36.47)
CIE-LCHlch(38.55, 49.44, 132.45°)
OKLaboklab(45.91% -0.0922 0.0826)
OKLCHoklch(45.91% 0.124 138.1)
XYZxyz(6.2444, 10.3986, 2.5976)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306719 #501967
analogous
#576719 #306719 #196729
triadic
#306719 #193067 #671930
tetradic
#306719 #195767 #501967 #672919
square
#306719 #195767 #501967 #672919
split-complementary
#306719 #291967 #671957
monochromatic
#0B1906 #19360D #306719 #479825 #5EC931

Accessibility & contrast

On white

6.82
#306719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#306719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306719
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306719#FFFFFF#000000##FFFFFF
##3067191.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0C
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#2C6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306719;
/* rgb */ color: rgb(48, 103, 25);
/* oklch */ color: oklch(45.9% 0.124 138.1);
Tailwind
colors: {
  custom: {
    50: '#6e935b',
    500: '#306719',
    950: '#000000',
  },
}
SCSS
$custom: #306719;
$custom-light: #6e935b;
$custom-dark: #000000;
JSON
{
  "hex": "#306719",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 102.308,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.12375,
    "h": 138.1
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#306719
secondary
#813F9D
accent
#44E4B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306719

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

Preview Lab → · Contrast checker → · Palette generator →

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