#307C2E#307C2E

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

Color values

HEX#307C2E
RGBrgb(48, 124, 46)
HSLhsl(118, 46%, 33%)
HSVhsv(118, 63%, 49%)
CMYKcmyk(61.3%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.96, -39.86, 34.94)
CIE-LCHlch(45.96, 53.01, 138.76°)
OKLaboklab(52.08% -0.1084 0.0819)
OKLCHoklch(52.08% 0.136 142.9)
XYZxyz(8.9192, 15.2401, 5.0558)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C2E #7A2E7C
analogous
#577C2E #307C2E #2E7C53
triadic
#307C2E #2E307C #7C2E30
tetradic
#307C2E #2E577C #7A2E7C #7C532E
square
#307C2E #2E577C #7A2E7C #7C532E
split-complementary
#307C2E #532E7C #7C2E57
monochromatic
#0D230D #1F4F1D #307C2E #41A93F #63C460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307C2E#FFFFFF#000000##FFFFFF
##307C2E1.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)
#7F7125
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#23786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c2e;
/* rgb */ color: rgb(48, 124, 46);
/* oklch */ color: oklch(52.1% 0.136 142.9);
Tailwind
colors: {
  custom: {
    50: '#71a36a',
    500: '#307c2e',
    950: '#000000',
  },
}
SCSS
$custom: #307c2e;
$custom-light: #71a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#307c2e",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 118.462,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.13588,
    "h": 142.9
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#307C2E
secondary
#A95BAB
accent
#52D6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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