#307918#307918

#307918 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.148 H 139.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#307918
RGBrgb(48, 121, 24)
HSLhsl(105, 67%, 28%)
HSVhsv(105, 80%, 47%)
CMYKcmyk(60.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.76, -40.76, 43.01)
CIE-LCHlch(44.76, 59.25, 133.47°)
OKLaboklab(51.03% -0.1122 0.0961)
OKLCHoklch(51.03% 0.148 139.4)
XYZxyz(8.2208, 14.3683, 3.2041)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307918 #611879
analogous
#607918 #307918 #187930
triadic
#307918 #183079 #791830
tetradic
#307918 #186079 #611879 #793018
square
#307918 #186079 #611879 #793018
split-complementary
#307918 #301879 #791860
monochromatic
#0A1A05 #1C460E #307918 #44AC22 #5DD735

Accessibility & contrast

On white

5.42
#307918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#307918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307918
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307918#FFFFFF#000000##FFFFFF
##3079181.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#287567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #307918;
/* rgb */ color: rgb(48, 121, 24);
/* oklch */ color: oklch(51.0% 0.148 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#307918',
    950: '#000000',
  },
}
SCSS
$custom: #307918;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#307918",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 105.155,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.14767,
    "h": 139.4
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#307918
secondary
#923FAE
accent
#3EEABF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #307918

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

Preview Lab → · Contrast checker → · Palette generator →

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