#307F40#307F40

#307F40 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.123 H 147.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#307F40
RGBrgb(48, 127, 64)
HSLhsl(132, 45%, 34%)
HSVhsv(132, 62%, 50%)
CMYKcmyk(62.2%, 0%, 49.6%, 50.2%)
CIE-LABlab(47.21, -38.51, 27.14)
CIE-LCHlch(47.21, 47.11, 144.83°)
OKLaboklab(53.18% -0.1041 0.0661)
OKLCHoklch(53.18% 0.123 147.6)
XYZxyz(9.7330, 16.1764, 7.4589)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F40 #7F306F
analogous
#487F30 #307F40 #307F68
triadic
#307F40 #40307F #7F4030
tetradic
#307F40 #30487F #7F306F #7F6830
square
#307F40 #30487F #7F306F #7F6830
split-complementary
#307F40 #68307F #7F3048
monochromatic
#0E2613 #1F532A #307F40 #41AB56 #65C578

Accessibility & contrast

On white

4.96
#307F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#307F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F40
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F40#FFFFFF#000000##FFFFFF
##307F401.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#1C7C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f40;
/* rgb */ color: rgb(48, 127, 64);
/* oklch */ color: oklch(53.2% 0.123 147.6);
Tailwind
colors: {
  custom: {
    50: '#71a576',
    500: '#307f40',
    950: '#000000',
  },
}
SCSS
$custom: #307f40;
$custom-light: #71a576;
$custom-dark: #000000;
JSON
{
  "hex": "#307f40",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 132.152,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.12331,
    "h": 147.6
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#307F40
secondary
#AC5F9C
accent
#53BBD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307F40

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

Preview Lab → · Contrast checker → · Palette generator →

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