#306F2E#306F2E

#306F2E is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.118 H 143.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#306F2E
RGBrgb(48, 111, 46)
HSLhsl(118, 41%, 31%)
HSVhsv(118, 59%, 44%)
CMYKcmyk(56.8%, 0%, 58.6%, 56.5%)
CIE-LABlab(41.52, -34.48, 29.78)
CIE-LCHlch(41.52, 45.56, 139.18°)
OKLaboklab(48.43% -0.0938 0.0708)
OKLCHoklch(48.43% 0.118 143)
XYZxyz(7.3961, 12.1939, 4.5481)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F2E #6D2E6F
analogous
#506F2E #306F2E #2E6F4C
triadic
#306F2E #2E306F #6F2E30
tetradic
#306F2E #2E506F #6D2E6F #6F4C2E
square
#306F2E #2E506F #6D2E6F #6F4C2E
split-complementary
#306F2E #4C2E6F #6F2E50
monochromatic
#0B180A #1D441C #306F2E #439A40 #5FBB5C

Accessibility & contrast

On white

6.11
#306F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#306F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F2E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F2E#FFFFFF#000000##FFFFFF
##306F2E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716528
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#276C61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f2e;
/* rgb */ color: rgb(48, 111, 46);
/* oklch */ color: oklch(48.4% 0.118 143.0);
Tailwind
colors: {
  custom: {
    50: '#6f9969',
    500: '#306f2e',
    950: '#000000',
  },
}
SCSS
$custom: #306f2e;
$custom-light: #6f9969;
$custom-dark: #000000;
JSON
{
  "hex": "#306f2e",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 118.154,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.11752,
    "h": 143
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#306F2E
secondary
#9E58A0
accent
#57D1CD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #306F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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