#307F45#307F45

#307F45 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.3% C 0.118 H 149.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#307F45
RGBrgb(48, 127, 69)
HSLhsl(136, 45%, 34%)
HSVhsv(136, 62%, 50%)
CMYKcmyk(62.2%, 0%, 45.7%, 50.2%)
CIE-LABlab(47.28, -37.66, 24.50)
CIE-LCHlch(47.28, 44.93, 146.95°)
OKLaboklab(53.27% -0.1018 0.0603)
OKLCHoklch(53.27% 0.118 149.4)
XYZxyz(9.8818, 16.2358, 8.2421)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F45 #7F306A
analogous
#437F30 #307F45 #307F6D
triadic
#307F45 #45307F #7F4530
tetradic
#307F45 #30437F #7F306A #7F6D30
square
#307F45 #30437F #7F306A #7F6D30
split-complementary
#307F45 #6D307F #7F3043
monochromatic
#0E2615 #1F532D #307F45 #41AB5D #65C57E

Accessibility & contrast

On white

4.94
#307F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#307F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F45
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F45#FFFFFF#000000##FFFFFF
##307F451.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807441
Deuteranopia (green-blind)
#766D49
Tritanopia (blue-blind)
#1A7D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f45;
/* rgb */ color: rgb(48, 127, 69);
/* oklch */ color: oklch(53.3% 0.118 149.4);
Tailwind
colors: {
  custom: {
    50: '#71a579',
    500: '#307f45',
    950: '#000000',
  },
}
SCSS
$custom: #307f45;
$custom-light: #71a579;
$custom-dark: #000000;
JSON
{
  "hex": "#307f45",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 135.949,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.11829,
    "h": 149.4
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#307F45
secondary
#AC5F97
accent
#53B2D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #307F45

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

Preview Lab → · Contrast checker → · Palette generator →

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