#307A18#307A18

#307A18 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.149 H 139.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#307A18
RGBrgb(48, 122, 24)
HSLhsl(105, 67%, 29%)
HSVhsv(105, 80%, 48%)
CMYKcmyk(60.7%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.10, -41.15, 43.34)
CIE-LCHlch(45.10, 59.76, 133.52°)
OKLaboklab(51.31% -0.1132 0.0968)
OKLCHoklch(51.31% 0.149 139.5)
XYZxyz(8.3430, 14.6127, 3.2448)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A18 #62187A
analogous
#617A18 #307A18 #187A31
triadic
#307A18 #18307A #7A1830
tetradic
#307A18 #18617A #62187A #7A3118
square
#307A18 #18617A #62187A #7A3118
split-complementary
#307A18 #31187A #7A1861
monochromatic
#0A1A05 #1C470E #307A18 #44AD22 #5DD735

Accessibility & contrast

On white

5.35
#307A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#307A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A18
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A18#FFFFFF#000000##FFFFFF
##307A181.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756823
Tritanopia (blue-blind)
#277668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a18;
/* rgb */ color: rgb(48, 122, 24);
/* oklch */ color: oklch(51.3% 0.149 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a15d',
    500: '#307a18',
    950: '#000000',
  },
}
SCSS
$custom: #307a18;
$custom-light: #72a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#307a18",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 105.306,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.14891,
    "h": 139.5
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

primary
#307A18
secondary
#933FAF
accent
#3EEAC0
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307A18

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

Preview Lab → · Contrast checker → · Palette generator →

#307A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva