#307C1F#307C1F

#307C1F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.147 H 140.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#307C1F
RGBrgb(48, 124, 31)
HSLhsl(109, 60%, 30%)
HSVhsv(109, 75%, 49%)
CMYKcmyk(61.3%, 0%, 75%, 51.4%)
CIE-LABlab(45.83, -41.39, 41.46)
CIE-LCHlch(45.83, 58.59, 134.95°)
OKLaboklab(51.93% -0.1134 0.0939)
OKLCHoklch(51.93% 0.147 140.4)
XYZxyz(8.6735, 15.1418, 3.7616)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C1F #6B1F7C
analogous
#5E7C1F #307C1F #1F7C3C
triadic
#307C1F #1F307C #7C1F30
tetradic
#307C1F #1F5E7C #6B1F7C #7C3C1F
square
#307C1F #1F5E7C #6B1F7C #7C3C1F
split-complementary
#307C1F #3C1F7C #7C1F5E
monochromatic
#0A1A07 #1D4B13 #307C1F #43AD2B #5ED045

Accessibility & contrast

On white

5.21
#307C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#307C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C1F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C1F#FFFFFF#000000##FFFFFF
##307C1F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#26786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c1f;
/* rgb */ color: rgb(48, 124, 31);
/* oklch */ color: oklch(51.9% 0.147 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a361',
    500: '#307c1f',
    950: '#000000',
  },
}
SCSS
$custom: #307c1f;
$custom-light: #72a361;
$custom-dark: #000000;
JSON
{
  "hex": "#307c1f",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 109.032,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5193,
    "c": 0.14724,
    "h": 140.4
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#307C1F
secondary
#9C48AF
accent
#45E3C6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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