#307E30#307E30

#307E30 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.137 H 143.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#307E30
RGBrgb(48, 126, 48)
HSLhsl(120, 45%, 34%)
HSVhsv(120, 62%, 49%)
CMYKcmyk(61.9%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.66, -40.41, 34.77)
CIE-LCHlch(46.66, 53.31, 139.29°)
OKLaboklab(52.67% -0.1098 0.0818)
OKLCHoklch(52.67% 0.137 143.3)
XYZxyz(9.2128, 15.7626, 5.3527)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E30 #7E307E
analogous
#577E30 #307E30 #307E57
triadic
#307E30 #30307E #7E3030
tetradic
#307E30 #30577E #7E307E #7E5730
square
#307E30 #30577E #7E307E #7E5730
split-complementary
#307E30 #57307E #7E3057
monochromatic
#0E250E #1F521F #307E30 #41AA41 #64C464

Accessibility & contrast

On white

5.06
#307E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#307E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E30
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E30#FFFFFF#000000##FFFFFF
##307E301.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817328
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#227A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e30;
/* rgb */ color: rgb(48, 126, 48);
/* oklch */ color: oklch(52.7% 0.137 143.3);
Tailwind
colors: {
  custom: {
    50: '#71a46b',
    500: '#307e30',
    950: '#000000',
  },
}
SCSS
$custom: #307e30;
$custom-light: #71a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#307e30",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.1369,
    "h": 143.3
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#307E30
secondary
#AB5FAB
accent
#53D5D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307E30

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

Preview Lab → · Contrast checker → · Palette generator →

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