#307F4E#307F4E

#307F4E is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.4% C 0.109 H 153.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#307F4E
RGBrgb(48, 127, 78)
HSLhsl(143, 45%, 34%)
HSVhsv(143, 62%, 50%)
CMYKcmyk(62.2%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.44, -35.97, 19.67)
CIE-LCHlch(47.44, 41.00, 151.33°)
OKLaboklab(53.45% -0.0974 0.0492)
OKLCHoklch(53.45% 0.109 153.2)
XYZxyz(10.1826, 16.3562, 9.8267)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F4E #7F3061
analogous
#3A7F30 #307F4E #307F76
triadic
#307F4E #4E307F #7F4E30
tetradic
#307F4E #303A7F #7F3061 #7F7630
square
#307F4E #303A7F #7F3061 #7F7630
split-complementary
#307F4E #76307F #7F303A
monochromatic
#0E2617 #1F5333 #307F4E #41AB69 #65C589

Accessibility & contrast

On white

4.92
#307F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#307F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F4E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F4E#FFFFFF#000000##FFFFFF
##307F4E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#746E51
Tritanopia (blue-blind)
#147D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f4e;
/* rgb */ color: rgb(48, 127, 78);
/* oklch */ color: oklch(53.4% 0.109 153.2);
Tailwind
colors: {
  custom: {
    50: '#71a580',
    500: '#307f4e',
    950: '#000000',
  },
}
SCSS
$custom: #307f4e;
$custom-light: #71a580;
$custom-dark: #000000;
JSON
{
  "hex": "#307f4e",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 142.785,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.10915,
    "h": 153.2
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#307F4E
secondary
#AC5F8F
accent
#53A4D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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