#306517#306517

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

Color values

HEX#306517
RGBrgb(48, 101, 23)
HSLhsl(101, 63%, 24%)
HSVhsv(101, 77%, 40%)
CMYKcmyk(52.5%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.84, -32.67, 36.57)
CIE-LCHlch(37.84, 49.04, 131.78°)
OKLaboklab(45.32% -0.0904 0.0825)
OKLCHoklch(45.32% 0.122 137.6)
XYZxyz(6.0271, 9.9972, 2.4225)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306517 #4C1765
analogous
#576517 #306517 #176525
triadic
#306517 #173065 #651730
tetradic
#306517 #175765 #4C1765 #652517
square
#306517 #175765 #4C1765 #652517
split-complementary
#306517 #251765 #651757
monochromatic
#0C1906 #18330C #306517 #489722 #5FC92E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306517#FFFFFF#000000##FFFFFF
##3065171.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)
#685C09
Deuteranopia (green-blind)
#62571F
Tritanopia (blue-blind)
#2C6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306517;
/* rgb */ color: rgb(48, 101, 23);
/* oklch */ color: oklch(45.3% 0.122 137.6);
Tailwind
colors: {
  custom: {
    50: '#6e915a',
    500: '#306517',
    950: '#000000',
  },
}
SCSS
$custom: #306517;
$custom-light: #6e915a;
$custom-dark: #000000;
JSON
{
  "hex": "#306517",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 100.769,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.12239,
    "h": 137.6
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#306517
secondary
#7D3C9B
accent
#42E6B1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306517

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

Preview Lab → · Contrast checker → · Palette generator →

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