#307B40#307B40

#307B40 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.117 H 148.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#307B40
RGBrgb(48, 123, 64)
HSLhsl(133, 44%, 34%)
HSVhsv(133, 61%, 48%)
CMYKcmyk(61%, 0%, 48%, 51.8%)
CIE-LABlab(45.86, -36.83, 25.44)
CIE-LCHlch(45.86, 44.76, 145.37°)
OKLaboklab(52.07% -0.0996 0.0622)
OKLCHoklch(52.07% 0.117 148)
XYZxyz(9.2267, 15.1636, 7.2901)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B40 #7B306B
analogous
#457B30 #307B40 #307B65
triadic
#307B40 #40307B #7B4030
tetradic
#307B40 #30457B #7B306B #7B6530
square
#307B40 #30457B #7B306B #7B6530
split-complementary
#307B40 #65307B #7B3045
monochromatic
#0E2312 #1F4F29 #307B40 #41A757 #63C277

Accessibility & contrast

On white

5.21
#307B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#307B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B40
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B40#FFFFFF#000000##FFFFFF
##307B401.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#1E796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307b40;
/* rgb */ color: rgb(48, 123, 64);
/* oklch */ color: oklch(52.1% 0.117 148.0);
Tailwind
colors: {
  custom: {
    50: '#70a276',
    500: '#307b40',
    950: '#000000',
  },
}
SCSS
$custom: #307b40;
$custom-light: #70a276;
$custom-dark: #000000;
JSON
{
  "hex": "#307b40",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 132.8,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.11744,
    "h": 148
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#307B40
secondary
#A95D99
accent
#54B8D4
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307B40

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

Preview Lab → · Contrast checker → · Palette generator →

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