#306F2F#306F2F

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

Color values

HEX#306F2F
RGBrgb(48, 111, 47)
HSLhsl(119, 41%, 31%)
HSVhsv(119, 58%, 44%)
CMYKcmyk(56.8%, 0%, 57.7%, 56.5%)
CIE-LABlab(41.54, -34.34, 29.27)
CIE-LCHlch(41.54, 45.12, 139.55°)
OKLaboklab(48.44% -0.0934 0.0698)
OKLCHoklch(48.44% 0.117 143.2)
XYZxyz(7.4161, 12.2019, 4.6532)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F2F #6E2F6F
analogous
#506F2F #306F2F #2F6F4E
triadic
#306F2F #2F306F #6F2F30
tetradic
#306F2F #2F506F #6E2F6F #6F4E2F
square
#306F2F #2F506F #6E2F6F #6F4E2F
split-complementary
#306F2F #4E2F6F #6F2F50
monochromatic
#0B190B #1D441D #306F2F #439A41 #5FBB5E

Accessibility & contrast

On white

6.10
#306F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306F2F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F2F#FFFFFF#000000##FFFFFF
##306F2F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#266C61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f2f;
/* rgb */ color: rgb(48, 111, 47);
/* oklch */ color: oklch(48.4% 0.117 143.2);
Tailwind
colors: {
  custom: {
    50: '#6f9969',
    500: '#306f2f',
    950: '#000000',
  },
}
SCSS
$custom: #306f2f;
$custom-light: #6f9969;
$custom-dark: #000000;
JSON
{
  "hex": "#306f2f",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 119.063,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.11656,
    "h": 143.2
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#306F2F
secondary
#9F59A0
accent
#57D0CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #306F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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