#307D1B#307D1B

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

Color values

HEX#307D1B
RGBrgb(48, 125, 27)
HSLhsl(107, 64%, 30%)
HSVhsv(107, 78%, 49%)
CMYKcmyk(61.6%, 0%, 78.4%, 51%)
CIE-LABlab(46.14, -42.09, 43.29)
CIE-LCHlch(46.14, 60.38, 134.19°)
OKLaboklab(52.18% -0.1156 0.0971)
OKLCHoklch(52.18% 0.151 140)
XYZxyz(8.7500, 15.3739, 3.5431)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D1B #681B7D
analogous
#617D1B #307D1B #1B7D37
triadic
#307D1B #1B307D #7D1B30
tetradic
#307D1B #1B617D #681B7D #7D371B
square
#307D1B #1B617D #681B7D #7D371B
split-complementary
#307D1B #371B7D #7D1B61
monochromatic
#0A1905 #1D4B10 #307D1B #43AF26 #5ED53D

Accessibility & contrast

On white

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

On black

4.07
#307D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307D1B#FFFFFF#000000##FFFFFF
##307D1B1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#26796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d1b;
/* rgb */ color: rgb(48, 125, 27);
/* oklch */ color: oklch(52.2% 0.151 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a35f',
    500: '#307d1b',
    950: '#000000',
  },
}
SCSS
$custom: #307d1b;
$custom-light: #72a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#307d1b",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 107.143,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.15095,
    "h": 140
  },
  "luminance": 0.15375
}

Semantic roles & 50–950 ramp

primary
#307D1B
secondary
#9943B1
accent
#40E7C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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