#307E31#307E31

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

Color values

HEX#307E31
RGBrgb(48, 126, 49)
HSLhsl(121, 45%, 34%)
HSVhsv(121, 62%, 49%)
CMYKcmyk(61.9%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.67, -40.29, 34.29)
CIE-LCHlch(46.67, 52.91, 139.60°)
OKLaboklab(52.68% -0.1094 0.0808)
OKLCHoklch(52.68% 0.136 143.5)
XYZxyz(9.2336, 15.7710, 5.4626)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E31 #7E307D
analogous
#567E30 #307E31 #307E58
triadic
#307E31 #31307E #7E3130
tetradic
#307E31 #30567E #7E307D #7E5830
square
#307E31 #30567E #7E307D #7E5830
split-complementary
#307E31 #58307E #7E3056
monochromatic
#0E250F #1F5220 #307E31 #41AA42 #64C466

Accessibility & contrast

On white

5.05
#307E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307E31
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E31#FFFFFF#000000##FFFFFF
##307E311.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#227B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e31;
/* rgb */ color: rgb(48, 126, 49);
/* oklch */ color: oklch(52.7% 0.136 143.5);
Tailwind
colors: {
  custom: {
    50: '#71a46c',
    500: '#307e31',
    950: '#000000',
  },
}
SCSS
$custom: #307e31;
$custom-light: #71a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#307e31",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 120.769,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.13603,
    "h": 143.5
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#307E31
secondary
#AB5FAA
accent
#53D3D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307E31

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

Preview Lab → · Contrast checker → · Palette generator →

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