#306C1A#306C1A

#306C1A is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.4% C 0.130 H 138.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#306C1A
RGBrgb(48, 108, 26)
HSLhsl(104, 61%, 26%)
HSVhsv(104, 76%, 42%)
CMYKcmyk(55.6%, 0%, 75.9%, 57.6%)
CIE-LABlab(40.29, -35.40, 37.84)
CIE-LCHlch(40.29, 51.81, 133.09°)
OKLaboklab(47.35% -0.0976 0.0856)
OKLCHoklch(47.35% 0.13 138.8)
XYZxyz(6.7677, 11.4276, 2.8262)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C1A #561A6C
analogous
#596C1A #306C1A #1A6C2D
triadic
#306C1A #1A306C #6C1A30
tetradic
#306C1A #1A596C #561A6C #6C2D1A
square
#306C1A #1A596C #561A6C #6C2D1A
split-complementary
#306C1A #2D1A6C #6C1A59
monochromatic
#0B1906 #1A3B0E #306C1A #469D26 #5CCE33

Accessibility & contrast

On white

6.39
#306C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#306C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C1A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C1A#FFFFFF#000000##FFFFFF
##306C1A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620C
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#2B685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c1a;
/* rgb */ color: rgb(48, 108, 26);
/* oklch */ color: oklch(47.4% 0.130 138.8);
Tailwind
colors: {
  custom: {
    50: '#6f975c',
    500: '#306c1a',
    950: '#000000',
  },
}
SCSS
$custom: #306c1a;
$custom-light: #6f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#306c1a",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 103.902,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.12978,
    "h": 138.8
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#306C1A
secondary
#8741A1
accent
#43E4B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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