#307318#307318

#307318 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.140 H 139.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#307318
RGBrgb(48, 115, 24)
HSLhsl(104, 65%, 27%)
HSVhsv(104, 79%, 45%)
CMYKcmyk(58.3%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.70, -38.40, 41.00)
CIE-LCHlch(42.70, 56.18, 133.12°)
OKLaboklab(49.33% -0.1058 0.0919)
OKLCHoklch(49.33% 0.14 139)
XYZxyz(7.5142, 12.9552, 2.9686)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307318 #5B1873
analogous
#5E7318 #307318 #18732E
triadic
#307318 #183073 #731830
tetradic
#307318 #185E73 #5B1873 #732E18
square
#307318 #185E73 #5B1873 #732E18
split-complementary
#307318 #2E1873 #73185E
monochromatic
#0B1905 #1B400D #307318 #45A623 #5CD431

Accessibility & contrast

On white

5.85
#307318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#307318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307318
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307318#FFFFFF#000000##FFFFFF
##3073181.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#296F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307318;
/* rgb */ color: rgb(48, 115, 24);
/* oklch */ color: oklch(49.3% 0.140 139.0);
Tailwind
colors: {
  custom: {
    50: '#719c5c',
    500: '#307318',
    950: '#000000',
  },
}
SCSS
$custom: #307318;
$custom-light: #719c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307318",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 104.176,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49329,
    "c": 0.14014,
    "h": 139
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#307318
secondary
#8C3FA8
accent
#3FE8BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307318

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

Preview Lab → · Contrast checker → · Palette generator →

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