#306519#306519

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

Color values

HEX#306519
RGBrgb(48, 101, 25)
HSLhsl(102, 60%, 25%)
HSVhsv(102, 75%, 40%)
CMYKcmyk(52.5%, 0%, 75.2%, 60.4%)
CIE-LABlab(37.85, -32.51, 35.76)
CIE-LCHlch(37.85, 48.33, 132.27°)
OKLaboklab(45.34% -0.0898 0.0811)
OKLCHoklch(45.34% 0.121 137.9)
XYZxyz(6.0479, 10.0055, 2.5321)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306519 #4E1965
analogous
#566519 #306519 #196528
triadic
#306519 #193065 #651930
tetradic
#306519 #195665 #4E1965 #652819
square
#306519 #195665 #4E1965 #652819
split-complementary
#306519 #281965 #651956
monochromatic
#0C1906 #19340D #306519 #479625 #5FC731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306519#FFFFFF#000000##FFFFFF
##3065191.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)
#685C0D
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#2C6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306519;
/* rgb */ color: rgb(48, 101, 25);
/* oklch */ color: oklch(45.3% 0.121 137.9);
Tailwind
colors: {
  custom: {
    50: '#6e915b',
    500: '#306519',
    950: '#000000',
  },
}
SCSS
$custom: #306519;
$custom-light: #6e915b;
$custom-dark: #000000;
JSON
{
  "hex": "#306519",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 101.842,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.12102,
    "h": 137.9
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#306519
secondary
#7F3F9B
accent
#44E3B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306519

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

Preview Lab → · Contrast checker → · Palette generator →

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