#307E2F#307E2F

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

Color values

HEX#307E2F
RGBrgb(48, 126, 47)
HSLhsl(119, 46%, 34%)
HSVhsv(119, 63%, 49%)
CMYKcmyk(61.9%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.65, -40.54, 35.25)
CIE-LCHlch(46.65, 53.72, 138.99°)
OKLaboklab(52.65% -0.1102 0.0827)
OKLCHoklch(52.65% 0.138 143.1)
XYZxyz(9.1924, 15.7545, 5.2453)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E2F #7D2F7E
analogous
#587E2F #307E2F #2F7E56
triadic
#307E2F #2F307E #7E2F30
tetradic
#307E2F #2F587E #7D2F7E #7E562F
square
#307E2F #2F587E #7D2F7E #7E562F
split-complementary
#307E2F #562F7E #7E2F58
monochromatic
#0E250E #1F511E #307E2F #41AB40 #64C563

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307E2F#FFFFFF#000000##FFFFFF
##307E2F1.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)
#817326
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#227A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e2f;
/* rgb */ color: rgb(48, 126, 47);
/* oklch */ color: oklch(52.7% 0.138 143.1);
Tailwind
colors: {
  custom: {
    50: '#72a46a',
    500: '#307e2f',
    950: '#000000',
  },
}
SCSS
$custom: #307e2f;
$custom-light: #72a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#307e2f",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 119.241,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.13776,
    "h": 143.1
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#307E2F
secondary
#AB5DAC
accent
#52D5D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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