#306F2A#306F2A

#306F2A is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.121 H 141.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#306F2A
RGBrgb(48, 111, 42)
HSLhsl(115, 45%, 30%)
HSVhsv(115, 62%, 44%)
CMYKcmyk(56.8%, 0%, 62.2%, 56.5%)
CIE-LABlab(41.48, -35.00, 31.78)
CIE-LCHlch(41.48, 47.27, 137.76°)
OKLaboklab(48.37% -0.0954 0.0747)
OKLCHoklch(48.37% 0.121 141.9)
XYZxyz(7.3209, 12.1638, 4.1521)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F2A #692A6F
analogous
#526F2A #306F2A #2A6F47
triadic
#306F2A #2A306F #6F2A30
tetradic
#306F2A #2A526F #692A6F #6F472A
square
#306F2A #2A526F #692A6F #6F472A
split-complementary
#306F2A #472A6F #6F2A52
monochromatic
#0A1608 #1D4319 #306F2A #439B3B #5EBF55

Accessibility & contrast

On white

6.12
#306F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#306F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F2A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F2A#FFFFFF#000000##FFFFFF
##306F2A1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726523
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f2a;
/* rgb */ color: rgb(48, 111, 42);
/* oklch */ color: oklch(48.4% 0.121 141.9);
Tailwind
colors: {
  custom: {
    50: '#6f9966',
    500: '#306f2a',
    950: '#000000',
  },
}
SCSS
$custom: #306f2a;
$custom-light: #6f9966;
$custom-dark: #000000;
JSON
{
  "hex": "#306f2a",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 114.783,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.12123,
    "h": 141.9
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#306F2A
secondary
#9A54A1
accent
#53D5CA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #306F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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