#306F2D#306F2D

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

Color values

HEX#306F2D
RGBrgb(48, 111, 45)
HSLhsl(117, 42%, 31%)
HSVhsv(117, 59%, 44%)
CMYKcmyk(56.8%, 0%, 59.5%, 56.5%)
CIE-LABlab(41.51, -34.61, 30.29)
CIE-LCHlch(41.51, 45.99, 138.81°)
OKLaboklab(48.41% -0.0942 0.0718)
OKLCHoklch(48.41% 0.118 142.7)
XYZxyz(7.3766, 12.1861, 4.4455)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F2D #6C2D6F
analogous
#516F2D #306F2D #2D6F4B
triadic
#306F2D #2D306F #6F2D30
tetradic
#306F2D #2D516F #6C2D6F #6F4B2D
square
#306F2D #2D516F #6C2D6F #6F4B2D
split-complementary
#306F2D #4B2D6F #6F2D51
monochromatic
#0A180A #1D431B #306F2D #439B3F #5FBC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306F2D#FFFFFF#000000##FFFFFF
##306F2D1.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)
#716527
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#276C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f2d;
/* rgb */ color: rgb(48, 111, 45);
/* oklch */ color: oklch(48.4% 0.118 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f9968',
    500: '#306f2d',
    950: '#000000',
  },
}
SCSS
$custom: #306f2d;
$custom-light: #6f9968;
$custom-dark: #000000;
JSON
{
  "hex": "#306f2d",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 117.273,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.11847,
    "h": 142.7
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#306F2D
secondary
#9D57A1
accent
#56D2CC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #306F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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