#306516#306516

#306516 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.123 H 137.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#306516
RGBrgb(48, 101, 22)
HSLhsl(100, 64%, 24%)
HSVhsv(100, 78%, 40%)
CMYKcmyk(52.5%, 0%, 78.2%, 60.4%)
CIE-LABlab(37.83, -32.75, 36.96)
CIE-LCHlch(37.83, 49.39, 131.54°)
OKLaboklab(45.32% -0.0907 0.0831)
OKLCHoklch(45.32% 0.123 137.5)
XYZxyz(6.0172, 9.9932, 2.3707)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306516 #4B1665
analogous
#586516 #306516 #166524
triadic
#306516 #163065 #651630
tetradic
#306516 #165865 #4B1665 #652416
square
#306516 #165865 #4B1665 #652416
split-complementary
#306516 #241665 #651658
monochromatic
#0C1905 #18330B #306516 #489721 #60CA2C

Accessibility & contrast

On white

7.00
#306516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#306516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306516
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306516#FFFFFF#000000##FFFFFF
##3065161.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#62571E
Tritanopia (blue-blind)
#2C6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306516;
/* rgb */ color: rgb(48, 101, 22);
/* oklch */ color: oklch(45.3% 0.123 137.5);
Tailwind
colors: {
  custom: {
    50: '#6e9159',
    500: '#306516',
    950: '#000000',
  },
}
SCSS
$custom: #306516;
$custom-light: #6e9159;
$custom-dark: #000000;
JSON
{
  "hex": "#306516",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 100.253,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.12305,
    "h": 137.5
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#306516
secondary
#7C3B9C
accent
#41E7B0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306516

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

Preview Lab → · Contrast checker → · Palette generator →

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