#306F28#306F28

#306F28 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.123 H 141.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#306F28
RGBrgb(48, 111, 40)
HSLhsl(113, 47%, 30%)
HSVhsv(113, 64%, 44%)
CMYKcmyk(56.8%, 0%, 64%, 56.5%)
CIE-LABlab(41.45, -35.24, 32.75)
CIE-LCHlch(41.45, 48.11, 137.10°)
OKLaboklab(48.35% -0.0962 0.0766)
OKLCHoklch(48.35% 0.123 141.5)
XYZxyz(7.2860, 12.1499, 3.9683)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F28 #67286F
analogous
#546F28 #306F28 #286F43
triadic
#306F28 #28306F #6F2830
tetradic
#306F28 #28546F #67286F #6F4328
square
#306F28 #28546F #67286F #6F4328
split-complementary
#306F28 #43286F #6F2854
monochromatic
#0A1608 #1D4218 #306F28 #439C38 #5EC051

Accessibility & contrast

On white

6.12
#306F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#306F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F28
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F28#FFFFFF#000000##FFFFFF
##306F281.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726520
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f28;
/* rgb */ color: rgb(48, 111, 40);
/* oklch */ color: oklch(48.3% 0.123 141.5);
Tailwind
colors: {
  custom: {
    50: '#6f9965',
    500: '#306f28',
    950: '#000000',
  },
}
SCSS
$custom: #306f28;
$custom-light: #6f9965;
$custom-dark: #000000;
JSON
{
  "hex": "#306f28",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 113.239,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48348,
    "c": 0.12301,
    "h": 141.5
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#306F28
secondary
#9851A1
accent
#51D7C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #306F28

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

Preview Lab → · Contrast checker → · Palette generator →

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