#307D1F#307D1F

#307D1F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.149 H 140.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#307D1F
RGBrgb(48, 125, 31)
HSLhsl(109, 60%, 31%)
HSVhsv(109, 75%, 49%)
CMYKcmyk(61.6%, 0%, 75.2%, 51%)
CIE-LABlab(46.17, -41.78, 41.81)
CIE-LCHlch(46.17, 59.10, 134.98°)
OKLaboklab(52.21% -0.1145 0.0946)
OKLCHoklch(52.21% 0.149 140.4)
XYZxyz(8.7995, 15.3937, 3.8036)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D1F #6C1F7D
analogous
#5F7D1F #307D1F #1F7D3D
triadic
#307D1F #1F307D #7D1F30
tetradic
#307D1F #1F5F7D #6C1F7D #7D3D1F
square
#307D1F #1F5F7D #6C1F7D #7D3D1F
split-complementary
#307D1F #3D1F7D #7D1F5F
monochromatic
#0A1B07 #1D4C13 #307D1F #43AE2B #5FD145

Accessibility & contrast

On white

5.15
#307D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#307D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D1F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D1F#FFFFFF#000000##FFFFFF
##307D1F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#25796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d1f;
/* rgb */ color: rgb(48, 125, 31);
/* oklch */ color: oklch(52.2% 0.149 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a361',
    500: '#307d1f',
    950: '#000000',
  },
}
SCSS
$custom: #307d1f;
$custom-light: #72a361;
$custom-dark: #000000;
JSON
{
  "hex": "#307d1f",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 109.149,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.14851,
    "h": 140.4
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#307D1F
secondary
#9D48B0
accent
#44E3C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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