#306617#306617

#306617 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.124 H 137.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#306617
RGBrgb(48, 102, 23)
HSLhsl(101, 63%, 25%)
HSVhsv(101, 77%, 40%)
CMYKcmyk(52.9%, 0%, 77.5%, 60%)
CIE-LABlab(38.19, -33.10, 36.92)
CIE-LCHlch(38.19, 49.59, 131.88°)
OKLaboklab(45.61% -0.0916 0.0832)
OKLCHoklch(45.61% 0.124 137.8)
XYZxyz(6.1247, 10.1925, 2.4551)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306617 #4D1766
analogous
#586617 #306617 #176626
triadic
#306617 #173066 #661730
tetradic
#306617 #175866 #4D1766 #662617
square
#306617 #175866 #4D1766 #662617
split-complementary
#306617 #261766 #661758
monochromatic
#0C1906 #18340C #306617 #489822 #5FCA2E

Accessibility & contrast

On white

6.91
#306617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#306617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306617
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306617#FFFFFF#000000##FFFFFF
##3066171.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#2C6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #306617;
/* rgb */ color: rgb(48, 102, 23);
/* oklch */ color: oklch(45.6% 0.124 137.8);
Tailwind
colors: {
  custom: {
    50: '#6e925a',
    500: '#306617',
    950: '#000000',
  },
}
SCSS
$custom: #306617;
$custom-light: #6e925a;
$custom-dark: #000000;
JSON
{
  "hex": "#306617",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 101.013,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.12374,
    "h": 137.8
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#306617
secondary
#7E3C9C
accent
#42E6B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306617

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

Preview Lab → · Contrast checker → · Palette generator →

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