#306018#306018

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

Color values

HEX#306018
RGBrgb(48, 96, 24)
HSLhsl(100, 60%, 24%)
HSVhsv(100, 75%, 38%)
CMYKcmyk(50%, 0%, 75%, 62.4%)
CIE-LABlab(36.10, -30.39, 34.38)
CIE-LCHlch(36.10, 45.89, 131.47°)
OKLaboklab(43.9% -0.0842 0.0781)
OKLCHoklch(43.9% 0.115 137.2)
XYZxyz(5.5665, 9.0597, 2.3194)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306018 #481860
analogous
#546018 #306018 #186024
triadic
#306018 #183060 #601830
tetradic
#306018 #185460 #481860 #602418
square
#306018 #185460 #481860 #602418
split-complementary
#306018 #241860 #601854
monochromatic
#0C1806 #182F0C #306018 #489124 #61C230

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306018#FFFFFF#000000##FFFFFF
##3060181.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)
#63570D
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#2D5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #306018;
/* rgb */ color: rgb(48, 96, 24);
/* oklch */ color: oklch(43.9% 0.115 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d8d5a',
    500: '#306018',
    950: '#000000',
  },
}
SCSS
$custom: #306018;
$custom-light: #6d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#306018",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 100,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.11481,
    "h": 137.2
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#306018
secondary
#793D96
accent
#45E3AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306018

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

Preview Lab → · Contrast checker → · Palette generator →

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