#307C40#307C40

#307C40 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.119 H 147.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#307C40
RGBrgb(48, 124, 64)
HSLhsl(133, 44%, 34%)
HSVhsv(133, 61%, 49%)
CMYKcmyk(61.3%, 0%, 48.4%, 51.4%)
CIE-LABlab(46.19, -37.26, 25.87)
CIE-LCHlch(46.19, 45.35, 145.23°)
OKLaboklab(52.35% -0.1007 0.0632)
OKLCHoklch(52.35% 0.119 147.9)
XYZxyz(9.3514, 15.4130, 7.3317)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C40 #7C306C
analogous
#467C30 #307C40 #307C66
triadic
#307C40 #40307C #7C4030
tetradic
#307C40 #30467C #7C306C #7C6630
square
#307C40 #30467C #7C306C #7C6630
split-complementary
#307C40 #66307C #7C3046
monochromatic
#0E2412 #1F5029 #307C40 #41A857 #64C378

Accessibility & contrast

On white

5.14
#307C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#307C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C40
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C40#FFFFFF#000000##FFFFFF
##307C401.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723B
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#1D796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c40;
/* rgb */ color: rgb(48, 124, 64);
/* oklch */ color: oklch(52.4% 0.119 147.9);
Tailwind
colors: {
  custom: {
    50: '#70a376',
    500: '#307c40',
    950: '#000000',
  },
}
SCSS
$custom: #307c40;
$custom-light: #70a376;
$custom-dark: #000000;
JSON
{
  "hex": "#307c40",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 132.632,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.11891,
    "h": 147.9
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#307C40
secondary
#AA5E9A
accent
#54B9D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307C40

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

Preview Lab → · Contrast checker → · Palette generator →

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