#307E4C#307E4C

#307E4C is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.1% C 0.110 H 152.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#307E4C
RGBrgb(48, 126, 76)
HSLhsl(142, 45%, 34%)
HSVhsv(142, 62%, 49%)
CMYKcmyk(61.9%, 0%, 39.7%, 50.6%)
CIE-LABlab(47.07, -35.93, 20.31)
CIE-LCHlch(47.07, 41.27, 150.53°)
OKLaboklab(53.13% -0.0973 0.0507)
OKLCHoklch(53.13% 0.11 152.5)
XYZxyz(9.9835, 16.0709, 9.4120)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E4C #7E3062
analogous
#3B7E30 #307E4C #307E73
triadic
#307E4C #4C307E #7E4C30
tetradic
#307E4C #303B7E #7E3062 #7E7330
square
#307E4C #303B7E #7E3062 #7E7330
split-complementary
#307E4C #73307E #7E303B
monochromatic
#0E2517 #1F5231 #307E4C #41AA67 #64C487

Accessibility & contrast

On white

4.98
#307E4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#307E4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E4C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E4C#FFFFFF#000000##FFFFFF
##307E4C1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7449
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#167C71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307e4c;
/* rgb */ color: rgb(48, 126, 76);
/* oklch */ color: oklch(53.1% 0.110 152.5);
Tailwind
colors: {
  custom: {
    50: '#71a47e',
    500: '#307e4c',
    950: '#000000',
  },
}
SCSS
$custom: #307e4c;
$custom-light: #71a47e;
$custom-dark: #000000;
JSON
{
  "hex": "#307e4c",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 76
  },
  "hsl": {
    "h": 141.538,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.10968,
    "h": 152.5
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#307E4C
secondary
#AB5F90
accent
#53A6D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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