#306E2F#306E2F

#306E2F is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.2% C 0.115 H 143.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#306E2F
RGBrgb(48, 110, 47)
HSLhsl(119, 40%, 31%)
HSVhsv(119, 57%, 43%)
CMYKcmyk(56.4%, 0%, 57.3%, 56.9%)
CIE-LABlab(41.19, -33.91, 28.86)
CIE-LCHlch(41.19, 44.53, 139.59°)
OKLaboklab(48.16% -0.0922 0.0689)
OKLCHoklch(48.16% 0.115 143.3)
XYZxyz(7.3076, 11.9849, 4.6170)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E2F #6D2F6E
analogous
#4F6E2F #306E2F #2F6E4D
triadic
#306E2F #2F306E #6E2F30
tetradic
#306E2F #2F4F6E #6D2F6E #6E4D2F
square
#306E2F #2F4F6E #6D2F6E #6E4D2F
split-complementary
#306E2F #4D2F6E #6E2F4F
monochromatic
#0B180A #1D431D #306E2F #439941 #5FBA5D

Accessibility & contrast

On white

6.18
#306E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#306E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E2F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E2F#FFFFFF#000000##FFFFFF
##306E2F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706529
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#276B60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e2f;
/* rgb */ color: rgb(48, 110, 47);
/* oklch */ color: oklch(48.2% 0.115 143.3);
Tailwind
colors: {
  custom: {
    50: '#6e9869',
    500: '#306e2f',
    950: '#000000',
  },
}
SCSS
$custom: #306e2f;
$custom-light: #6e9869;
$custom-dark: #000000;
JSON
{
  "hex": "#306e2f",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 119.048,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.11509,
    "h": 143.3
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#306E2F
secondary
#9E599F
accent
#58D0CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #306E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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