#307F3E#307F3E

#307F3E is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.125 H 147.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#307F3E
RGBrgb(48, 127, 62)
HSLhsl(131, 45%, 34%)
HSVhsv(131, 62%, 50%)
CMYKcmyk(62.2%, 0%, 51.2%, 50.2%)
CIE-LABlab(47.18, -38.83, 28.18)
CIE-LCHlch(47.18, 47.98, 144.03°)
OKLaboklab(53.15% -0.105 0.0683)
OKLCHoklch(53.15% 0.125 147)
XYZxyz(9.6772, 16.1540, 7.1646)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F3E #7F3071
analogous
#4A7F30 #307F3E #307F66
triadic
#307F3E #3E307F #7F3E30
tetradic
#307F3E #304A7F #7F3071 #7F6630
square
#307F3E #304A7F #7F3071 #7F6630
split-complementary
#307F3E #66307F #7F304A
monochromatic
#0E2613 #1F5328 #307F3E #41AB54 #65C576

Accessibility & contrast

On white

4.96
#307F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#307F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F3E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F3E#FFFFFF#000000##FFFFFF
##307F3E1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817439
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#1D7C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f3e;
/* rgb */ color: rgb(48, 127, 62);
/* oklch */ color: oklch(53.1% 0.125 147.0);
Tailwind
colors: {
  custom: {
    50: '#71a574',
    500: '#307f3e',
    950: '#000000',
  },
}
SCSS
$custom: #307f3e;
$custom-light: #71a574;
$custom-dark: #000000;
JSON
{
  "hex": "#307f3e",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 130.633,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.12528,
    "h": 147
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#307F3E
secondary
#AC5F9E
accent
#53BED5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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