#307D3D#307D3D

#307D3D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.6% C 0.123 H 146.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#307D3D
RGBrgb(48, 125, 61)
HSLhsl(130, 45%, 34%)
HSVhsv(130, 62%, 49%)
CMYKcmyk(61.6%, 0%, 51.2%, 51%)
CIE-LABlab(46.49, -38.17, 27.86)
CIE-LCHlch(46.49, 47.25, 143.87°)
OKLaboklab(52.58% -0.1032 0.0675)
OKLCHoklch(52.58% 0.123 146.8)
XYZxyz(9.3942, 15.6316, 6.9361)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D3D #7D3070
analogous
#4A7D30 #307D3D #307D64
triadic
#307D3D #3D307D #7D3D30
tetradic
#307D3D #304A7D #7D3070 #7D6430
square
#307D3D #304A7D #7D3070 #7D6430
split-complementary
#307D3D #64307D #7D304A
monochromatic
#0E2512 #1F5127 #307D3D #41A953 #64C374

Accessibility & contrast

On white

5.09
#307D3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#307D3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D3D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D3D#FFFFFF#000000##FFFFFF
##307D3D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7238
Deuteranopia (green-blind)
#756B42
Tritanopia (blue-blind)
#1E7A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d3d;
/* rgb */ color: rgb(48, 125, 61);
/* oklch */ color: oklch(52.6% 0.123 146.8);
Tailwind
colors: {
  custom: {
    50: '#71a374',
    500: '#307d3d',
    950: '#000000',
  },
}
SCSS
$custom: #307d3d;
$custom-light: #71a374;
$custom-dark: #000000;
JSON
{
  "hex": "#307d3d",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 61
  },
  "hsl": {
    "h": 130.13,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.12336,
    "h": 146.8
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#307D3D
secondary
#AB5E9E
accent
#54BFD4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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