#307A1F#307A1F

#307A1F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.145 H 140.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#307A1F
RGBrgb(48, 122, 31)
HSLhsl(109, 59%, 30%)
HSVhsv(109, 75%, 48%)
CMYKcmyk(60.7%, 0%, 74.6%, 52.2%)
CIE-LABlab(45.14, -40.62, 40.77)
CIE-LCHlch(45.14, 57.55, 134.90°)
OKLaboklab(51.37% -0.1113 0.0924)
OKLCHoklch(51.37% 0.145 140.3)
XYZxyz(8.4254, 14.6456, 3.6789)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A1F #691F7A
analogous
#5E7A1F #307A1F #1F7A3B
triadic
#307A1F #1F307A #7A1F30
tetradic
#307A1F #1F5E7A #691F7A #7A3B1F
square
#307A1F #1F5E7A #691F7A #7A3B1F
split-complementary
#307A1F #3B1F7A #7A1F5E
monochromatic
#0A1806 #1D4913 #307A1F #43AB2B #5ECF44

Accessibility & contrast

On white

5.34
#307A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#307A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A1F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A1F#FFFFFF#000000##FFFFFF
##307A1F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F0F
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#267668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a1f;
/* rgb */ color: rgb(48, 122, 31);
/* oklch */ color: oklch(51.4% 0.145 140.3);
Tailwind
colors: {
  custom: {
    50: '#72a161',
    500: '#307a1f',
    950: '#000000',
  },
}
SCSS
$custom: #307a1f;
$custom-light: #72a161;
$custom-dark: #000000;
JSON
{
  "hex": "#307a1f",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 108.791,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.1447,
    "h": 140.3
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#307A1F
secondary
#9A47AD
accent
#45E3C5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #307A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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