#306820#306820

#306820 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.120 H 139.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#306820
RGBrgb(48, 104, 32)
HSLhsl(107, 53%, 27%)
HSVhsv(107, 69%, 41%)
CMYKcmyk(53.8%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.95, -33.15, 33.81)
CIE-LCHlch(38.95, 47.35, 134.43°)
OKLaboklab(46.27% -0.0911 0.078)
OKLCHoklch(46.27% 0.12 139.4)
XYZxyz(6.4297, 10.6328, 3.0797)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306820 #582068
analogous
#546820 #306820 #206834
triadic
#306820 #203068 #682030
tetradic
#306820 #205468 #582068 #683420
square
#306820 #205468 #582068 #683420
split-complementary
#306820 #342068 #682054
monochromatic
#0B1707 #1A3912 #306820 #46972E #5CC43F

Accessibility & contrast

On white

6.72
#306820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#306820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306820
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306820#FFFFFF#000000##FFFFFF
##3068201.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F17
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#2B6459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306820;
/* rgb */ color: rgb(48, 104, 32);
/* oklch */ color: oklch(46.3% 0.120 139.4);
Tailwind
colors: {
  custom: {
    50: '#6e945f',
    500: '#306820',
    950: '#000000',
  },
}
SCSS
$custom: #306820;
$custom-light: #6e945f;
$custom-dark: #000000;
JSON
{
  "hex": "#306820",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 106.667,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.11987,
    "h": 139.4
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#306820
secondary
#89489C
accent
#4BDCBC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306820

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

Preview Lab → · Contrast checker → · Palette generator →

#306820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva