#307C2F#307C2F

#307C2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.135 H 143.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#307C2F
RGBrgb(48, 124, 47)
HSLhsl(119, 45%, 34%)
HSVhsv(119, 62%, 49%)
CMYKcmyk(61.3%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.97, -39.74, 34.47)
CIE-LCHlch(45.97, 52.60, 139.06°)
OKLaboklab(52.1% -0.108 0.081)
OKLCHoklch(52.1% 0.135 143.1)
XYZxyz(8.9392, 15.2481, 5.1609)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C2F #7B2F7C
analogous
#567C2F #307C2F #2F7C54
triadic
#307C2F #2F307C #7C2F30
tetradic
#307C2F #2F567C #7B2F7C #7C542F
square
#307C2F #2F567C #7B2F7C #7C542F
split-complementary
#307C2F #542F7C #7C2F56
monochromatic
#0E230D #1F501E #307C2F #41A840 #63C362

Accessibility & contrast

On white

5.19
#307C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#307C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C2F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C2F#FFFFFF#000000##FFFFFF
##307C2F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#23786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c2f;
/* rgb */ color: rgb(48, 124, 47);
/* oklch */ color: oklch(52.1% 0.135 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a36a',
    500: '#307c2f',
    950: '#000000',
  },
}
SCSS
$custom: #307c2f;
$custom-light: #71a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#307c2f",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 119.221,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.13503,
    "h": 143.1
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#307C2F
secondary
#A95CAA
accent
#53D5D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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