#306A1F#306A1F

#306A1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.123 H 139.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#306A1F
RGBrgb(48, 106, 31)
HSLhsl(106, 55%, 27%)
HSVhsv(106, 71%, 42%)
CMYKcmyk(54.7%, 0%, 70.8%, 58.4%)
CIE-LABlab(39.64, -34.10, 35.01)
CIE-LCHlch(39.64, 48.87, 134.25°)
OKLaboklab(46.83% -0.0937 0.0804)
OKLCHoklch(46.83% 0.123 139.4)
XYZxyz(6.6200, 11.0349, 3.0772)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A1F #591F6A
analogous
#566A1F #306A1F #1F6A34
triadic
#306A1F #1F306A #6A1F30
tetradic
#306A1F #1F566A #591F6A #6A341F
square
#306A1F #1F566A #591F6A #6A341F
split-complementary
#306A1F #341F6A #6A1F56
monochromatic
#0B1807 #1B3B11 #306A1F #45992D #5CC63D

Accessibility & contrast

On white

6.55
#306A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#306A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A1F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A1F#FFFFFF#000000##FFFFFF
##306A1F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#2A665B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a1f;
/* rgb */ color: rgb(48, 106, 31);
/* oklch */ color: oklch(46.8% 0.123 139.4);
Tailwind
colors: {
  custom: {
    50: '#6f955f',
    500: '#306a1f',
    950: '#000000',
  },
}
SCSS
$custom: #306a1f;
$custom-light: #6f955f;
$custom-dark: #000000;
JSON
{
  "hex": "#306a1f",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 106.4,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.12346,
    "h": 139.4
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#306A1F
secondary
#8A479E
accent
#4ADEBC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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