#306722#306722

#306722 is a mid, moderate green. Relative luminance 0.104; OKLCH L 46.0% C 0.117 H 139.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#306722
RGBrgb(48, 103, 34)
HSLhsl(108, 50%, 27%)
HSVhsv(108, 67%, 40%)
CMYKcmyk(53.4%, 0%, 67%, 59.6%)
CIE-LABlab(38.63, -32.50, 32.50)
CIE-LCHlch(38.63, 45.96, 134.99°)
OKLaboklab(46% -0.0892 0.0754)
OKLCHoklch(46% 0.117 139.8)
XYZxyz(6.3576, 10.4439, 3.1939)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306722 #592267
analogous
#536722 #306722 #226737
triadic
#306722 #223067 #672230
tetradic
#306722 #225367 #592267 #673722
square
#306722 #225367 #592267 #673722
split-complementary
#306722 #372267 #672253
monochromatic
#0B1708 #1B3913 #306722 #459531 #5CC143

Accessibility & contrast

On white

6.80
#306722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#306722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306722
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306722#FFFFFF#000000##FFFFFF
##3067221.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#2B6459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306722;
/* rgb */ color: rgb(48, 103, 34);
/* oklch */ color: oklch(46.0% 0.117 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e9360',
    500: '#306722',
    950: '#000000',
  },
}
SCSS
$custom: #306722;
$custom-light: #6e9360;
$custom-dark: #000000;
JSON
{
  "hex": "#306722",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 107.826,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.11679,
    "h": 139.8
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#306722
secondary
#8A4A9B
accent
#4EDABD
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #306722

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

Preview Lab → · Contrast checker → · Palette generator →

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