#307C38#307C38

#307C38 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.127 H 145.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#307C38
RGBrgb(48, 124, 56)
HSLhsl(126, 44%, 34%)
HSVhsv(126, 61%, 49%)
CMYKcmyk(61.3%, 0%, 54.8%, 51.4%)
CIE-LABlab(46.08, -38.52, 30.02)
CIE-LCHlch(46.08, 48.83, 142.07°)
OKLaboklab(52.22% -0.1043 0.0721)
OKLCHoklch(52.22% 0.127 145.4)
XYZxyz(9.1398, 15.3284, 6.2176)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C38 #7C3074
analogous
#4E7C30 #307C38 #307C5E
triadic
#307C38 #38307C #7C3830
tetradic
#307C38 #304E7C #7C3074 #7C5E30
square
#307C38 #304E7C #7C3074 #7C5E30
split-complementary
#307C38 #5E307C #7C304E
monochromatic
#0E2410 #1F5024 #307C38 #41A84C #64C36E

Accessibility & contrast

On white

5.17
#307C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#307C38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C38
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C38#FFFFFF#000000##FFFFFF
##307C381.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7132
Deuteranopia (green-blind)
#746B3D
Tritanopia (blue-blind)
#20796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c38;
/* rgb */ color: rgb(48, 124, 56);
/* oklch */ color: oklch(52.2% 0.127 145.4);
Tailwind
colors: {
  custom: {
    50: '#71a370',
    500: '#307c38',
    950: '#000000',
  },
}
SCSS
$custom: #307c38;
$custom-light: #71a370;
$custom-dark: #000000;
JSON
{
  "hex": "#307c38",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 126.316,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.12678,
    "h": 145.4
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#307C38
secondary
#AA5EA2
accent
#54C6D4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307C38

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

Preview Lab → · Contrast checker → · Palette generator →

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