#306D2D#306D2D

#306D2D is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.116 H 142.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#306D2D
RGBrgb(48, 109, 45)
HSLhsl(117, 42%, 30%)
HSVhsv(117, 59%, 43%)
CMYKcmyk(56%, 0%, 58.7%, 57.3%)
CIE-LABlab(40.82, -33.75, 29.48)
CIE-LCHlch(40.82, 44.81, 138.87°)
OKLaboklab(47.85% -0.0919 0.07)
OKLCHoklch(47.85% 0.116 142.7)
XYZxyz(7.1609, 11.7545, 4.3736)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D2D #6A2D6D
analogous
#506D2D #306D2D #2D6D4A
triadic
#306D2D #2D306D #6D2D30
tetradic
#306D2D #2D506D #6A2D6D #6D4A2D
square
#306D2D #2D506D #6A2D6D #6D4A2D
split-complementary
#306D2D #4A2D6D #6D2D50
monochromatic
#0A1609 #1D421B #306D2D #43983F #5EBB5A

Accessibility & contrast

On white

6.27
#306D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#306D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D2D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D2D#FFFFFF#000000##FFFFFF
##306D2D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6427
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#276A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d2d;
/* rgb */ color: rgb(48, 109, 45);
/* oklch */ color: oklch(47.8% 0.116 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9768',
    500: '#306d2d',
    950: '#000000',
  },
}
SCSS
$custom: #306d2d;
$custom-light: #6e9768;
$custom-dark: #000000;
JSON
{
  "hex": "#306d2d",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 117.188,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47848,
    "c": 0.11554,
    "h": 142.7
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#306D2D
secondary
#9B579F
accent
#56D1CC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #306D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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