#307D40#307D40

#307D40 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.120 H 147.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#307D40
RGBrgb(48, 125, 64)
HSLhsl(132, 45%, 34%)
HSVhsv(132, 62%, 49%)
CMYKcmyk(61.6%, 0%, 48.8%, 51%)
CIE-LABlab(46.53, -37.68, 26.29)
CIE-LCHlch(46.53, 45.94, 145.09°)
OKLaboklab(52.63% -0.1019 0.0642)
OKLCHoklch(52.63% 0.12 147.8)
XYZxyz(9.4773, 15.6649, 7.3737)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D40 #7D306D
analogous
#477D30 #307D40 #307D67
triadic
#307D40 #40307D #7D4030
tetradic
#307D40 #30477D #7D306D #7D6730
square
#307D40 #30477D #7D306D #7D6730
split-complementary
#307D40 #67307D #7D3047
monochromatic
#0E2513 #1F5129 #307D40 #41A957 #64C378

Accessibility & contrast

On white

5.08
#307D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307D40
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D40#FFFFFF#000000##FFFFFF
##307D401.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#746C44
Tritanopia (blue-blind)
#1D7A6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d40;
/* rgb */ color: rgb(48, 125, 64);
/* oklch */ color: oklch(52.6% 0.120 147.8);
Tailwind
colors: {
  custom: {
    50: '#71a376',
    500: '#307d40',
    950: '#000000',
  },
}
SCSS
$custom: #307d40;
$custom-light: #71a376;
$custom-dark: #000000;
JSON
{
  "hex": "#307d40",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 132.468,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.12039,
    "h": 147.8
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#307D40
secondary
#AB5E9B
accent
#54B9D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307D40

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

Preview Lab → · Contrast checker → · Palette generator →

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