#307F3D#307F3D

#307F3D is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.126 H 146.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#307F3D
RGBrgb(48, 127, 61)
HSLhsl(130, 45%, 34%)
HSVhsv(130, 62%, 50%)
CMYKcmyk(62.2%, 0%, 52%, 50.2%)
CIE-LABlab(47.16, -38.99, 28.70)
CIE-LCHlch(47.16, 48.41, 143.65°)
OKLaboklab(53.13% -0.1055 0.0694)
OKLCHoklch(53.13% 0.126 146.6)
XYZxyz(9.6500, 16.1431, 7.0214)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F3D #7F3072
analogous
#4B7F30 #307F3D #307F65
triadic
#307F3D #3D307F #7F3D30
tetradic
#307F3D #304B7F #7F3072 #7F6530
square
#307F3D #304B7F #7F3072 #7F6530
split-complementary
#307F3D #65307F #7F304B
monochromatic
#0E2612 #1F5328 #307F3D #41AB52 #65C575

Accessibility & contrast

On white

4.97
#307F3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307F3D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F3D#FFFFFF#000000##FFFFFF
##307F3D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817437
Deuteranopia (green-blind)
#776D42
Tritanopia (blue-blind)
#1D7C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f3d;
/* rgb */ color: rgb(48, 127, 61);
/* oklch */ color: oklch(53.1% 0.126 146.6);
Tailwind
colors: {
  custom: {
    50: '#71a574',
    500: '#307f3d',
    950: '#000000',
  },
}
SCSS
$custom: #307f3d;
$custom-light: #71a574;
$custom-dark: #000000;
JSON
{
  "hex": "#307f3d",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 129.873,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.12626,
    "h": 146.6
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#307F3D
secondary
#AC5F9F
accent
#53BFD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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