#307D1D#307D1D

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

Color values

HEX#307D1D
RGBrgb(48, 125, 29)
HSLhsl(108, 62%, 30%)
HSVhsv(108, 77%, 49%)
CMYKcmyk(61.6%, 0%, 76.8%, 51%)
CIE-LABlab(46.16, -41.94, 42.56)
CIE-LCHlch(46.16, 59.75, 134.58°)
OKLaboklab(52.2% -0.115 0.0959)
OKLCHoklch(52.2% 0.15 140.2)
XYZxyz(8.7739, 15.3835, 3.6691)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D1D #6A1D7D
analogous
#607D1D #307D1D #1D7D3A
triadic
#307D1D #1D307D #7D1D30
tetradic
#307D1D #1D607D #6A1D7D #7D3A1D
square
#307D1D #1D607D #6A1D7D #7D3A1D
split-complementary
#307D1D #3A1D7D #7D1D60
monochromatic
#0A1A06 #1D4B11 #307D1D #43AF29 #5ED341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307D1D#FFFFFF#000000##FFFFFF
##307D1D1.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)
#81710A
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#26796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d1d;
/* rgb */ color: rgb(48, 125, 29);
/* oklch */ color: oklch(52.2% 0.150 140.2);
Tailwind
colors: {
  custom: {
    50: '#72a360',
    500: '#307d1d',
    950: '#000000',
  },
}
SCSS
$custom: #307d1d;
$custom-light: #72a360;
$custom-dark: #000000;
JSON
{
  "hex": "#307d1d",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 108.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.14976,
    "h": 140.2
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#307D1D
secondary
#9B45B1
accent
#42E5C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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