#306019#306019

#306019 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.114 H 137.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#306019
RGBrgb(48, 96, 25)
HSLhsl(101, 59%, 24%)
HSVhsv(101, 74%, 38%)
CMYKcmyk(50%, 0%, 74%, 62.4%)
CIE-LABlab(36.11, -30.30, 33.96)
CIE-LCHlch(36.11, 45.51, 131.75°)
OKLaboklab(43.91% -0.0839 0.0773)
OKLCHoklch(43.91% 0.114 137.3)
XYZxyz(5.5771, 9.0639, 2.3752)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306019 #491960
analogous
#536019 #306019 #196025
triadic
#306019 #193060 #601930
tetradic
#306019 #195360 #491960 #602519
square
#306019 #195360 #491960 #602519
split-complementary
#306019 #251960 #601953
monochromatic
#0C1806 #182F0C #306019 #489126 #61C132

Accessibility & contrast

On white

7.47
#306019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#306019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306019
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306019#FFFFFF#000000##FFFFFF
##3060191.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570E
Deuteranopia (green-blind)
#5D5320
Tritanopia (blue-blind)
#2D5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #306019;
/* rgb */ color: rgb(48, 96, 25);
/* oklch */ color: oklch(43.9% 0.114 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d8d5a',
    500: '#306019',
    950: '#000000',
  },
}
SCSS
$custom: #306019;
$custom-light: #6d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#306019",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 100.563,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.11407,
    "h": 137.3
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#306019
secondary
#7A3F96
accent
#46E2AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306019

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

Preview Lab → · Contrast checker → · Palette generator →

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