#307C42#307C42

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

Color values

HEX#307C42
RGBrgb(48, 124, 66)
HSLhsl(134, 44%, 34%)
HSVhsv(134, 61%, 49%)
CMYKcmyk(61.3%, 0%, 46.8%, 51.4%)
CIE-LABlab(46.23, -36.91, 24.81)
CIE-LCHlch(46.23, 44.47, 146.10°)
OKLaboklab(52.39% -0.0998 0.0608)
OKLCHoklch(52.39% 0.117 148.6)
XYZxyz(9.4093, 15.4361, 7.6368)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C42 #7C306A
analogous
#447C30 #307C42 #307C68
triadic
#307C42 #42307C #7C4230
tetradic
#307C42 #30447C #7C306A #7C6830
square
#307C42 #30447C #7C306A #7C6830
split-complementary
#307C42 #68307C #7C3044
monochromatic
#0E2413 #1F502B #307C42 #41A859 #64C37A

Accessibility & contrast

On white

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

On black

4.09
#307C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307C42#FFFFFF#000000##FFFFFF
##307C421.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723E
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#1C7A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c42;
/* rgb */ color: rgb(48, 124, 66);
/* oklch */ color: oklch(52.4% 0.117 148.6);
Tailwind
colors: {
  custom: {
    50: '#70a377',
    500: '#307c42',
    950: '#000000',
  },
}
SCSS
$custom: #307c42;
$custom-light: #70a377;
$custom-dark: #000000;
JSON
{
  "hex": "#307c42",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 134.211,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.11689,
    "h": 148.6
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#307C42
secondary
#AA5E98
accent
#54B6D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #307C42

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

Preview Lab → · Contrast checker → · Palette generator →

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