#307F4A#307F4A

#307F4A is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.113 H 151.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#307F4A
RGBrgb(48, 127, 74)
HSLhsl(140, 45%, 34%)
HSVhsv(140, 62%, 50%)
CMYKcmyk(62.2%, 0%, 41.7%, 50.2%)
CIE-LABlab(47.37, -36.75, 21.83)
CIE-LCHlch(47.37, 42.74, 149.29°)
OKLaboklab(53.37% -0.0994 0.0542)
OKLCHoklch(53.37% 0.113 151.4)
XYZxyz(10.0436, 16.3006, 9.0943)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F4A #7F3065
analogous
#3E7F30 #307F4A #307F72
triadic
#307F4A #4A307F #7F4A30
tetradic
#307F4A #303E7F #7F3065 #7F7230
square
#307F4A #303E7F #7F3065 #7F7230
split-complementary
#307F4A #72307F #7F303E
monochromatic
#0E2616 #1F5330 #307F4A #41AB64 #65C584

Accessibility & contrast

On white

4.93
#307F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#307F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F4A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F4A#FFFFFF#000000##FFFFFF
##307F4A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7546
Deuteranopia (green-blind)
#756D4D
Tritanopia (blue-blind)
#177D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f4a;
/* rgb */ color: rgb(48, 127, 74);
/* oklch */ color: oklch(53.4% 0.113 151.4);
Tailwind
colors: {
  custom: {
    50: '#71a57d',
    500: '#307f4a',
    950: '#000000',
  },
}
SCSS
$custom: #307f4a;
$custom-light: #71a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#307f4a",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 139.747,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.11322,
    "h": 151.4
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#307F4A
secondary
#AC5F93
accent
#53AAD5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #307F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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