#306E1F#306E1F

#306E1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.129 H 139.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#306E1F
RGBrgb(48, 110, 31)
HSLhsl(107, 56%, 28%)
HSVhsv(107, 72%, 43%)
CMYKcmyk(56.4%, 0%, 71.8%, 56.9%)
CIE-LABlab(41.02, -35.79, 36.48)
CIE-LCHlch(41.02, 51.10, 134.45°)
OKLaboklab(47.97% -0.0983 0.0834)
OKLCHoklch(47.97% 0.129 139.7)
XYZxyz(7.0419, 11.8786, 3.2178)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E1F #5D1F6E
analogous
#576E1F #306E1F #1F6E36
triadic
#306E1F #1F306E #6E1F30
tetradic
#306E1F #1F576E #5D1F6E #6E361F
square
#306E1F #1F576E #5D1F6E #6E361F
split-complementary
#306E1F #361F6E #6E1F57
monochromatic
#0A1807 #1B3E12 #306E1F #459E2C #5CC93F

Accessibility & contrast

On white

6.22
#306E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#306E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E1F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E1F#FFFFFF#000000##FFFFFF
##306E1F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#2A6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e1f;
/* rgb */ color: rgb(48, 110, 31);
/* oklch */ color: oklch(48.0% 0.129 139.7);
Tailwind
colors: {
  custom: {
    50: '#6f985f',
    500: '#306e1f',
    950: '#000000',
  },
}
SCSS
$custom: #306e1f;
$custom-light: #6f985f;
$custom-dark: #000000;
JSON
{
  "hex": "#306e1f",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 107.089,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.12893,
    "h": 139.7
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#306E1F
secondary
#8E47A2
accent
#48DFBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #306E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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