#306F1A#306F1A

#306F1A is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.134 H 139.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#306F1A
RGBrgb(48, 111, 26)
HSLhsl(104, 62%, 27%)
HSVhsv(104, 77%, 44%)
CMYKcmyk(56.8%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.33, -36.64, 38.89)
CIE-LCHlch(41.33, 53.43, 133.29°)
OKLaboklab(48.21% -0.1009 0.0878)
OKLCHoklch(48.21% 0.134 139)
XYZxyz(7.0895, 12.0713, 2.9335)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F1A #591A6F
analogous
#5B6F1A #306F1A #1A6F2F
triadic
#306F1A #1A306F #6F1A30
tetradic
#306F1A #1A5B6F #591A6F #6F2F1A
square
#306F1A #1A5B6F #591A6F #6F2F1A
split-complementary
#306F1A #2F1A6F #6F1A5B
monochromatic
#0B1906 #1B3D0E #306F1A #45A126 #5CCF34

Accessibility & contrast

On white

6.15
#306F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#306F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F1A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F1A#FFFFFF#000000##FFFFFF
##306F1A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650A
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f1a;
/* rgb */ color: rgb(48, 111, 26);
/* oklch */ color: oklch(48.2% 0.134 139.0);
Tailwind
colors: {
  custom: {
    50: '#70995d',
    500: '#306f1a',
    950: '#000000',
  },
}
SCSS
$custom: #306f1a;
$custom-light: #70995d;
$custom-dark: #000000;
JSON
{
  "hex": "#306f1a",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 104.471,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.13374,
    "h": 139
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#306F1A
secondary
#8A41A4
accent
#43E5BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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