#307F2E#307F2E

#307F2E is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.140 H 142.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#307F2E
RGBrgb(48, 127, 46)
HSLhsl(119, 47%, 34%)
HSVhsv(119, 64%, 50%)
CMYKcmyk(62.2%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.98, -41.05, 36.10)
CIE-LCHlch(46.98, 54.67, 138.67°)
OKLaboklab(52.92% -0.1116 0.0844)
OKLCHoklch(52.92% 0.14 142.9)
XYZxyz(9.3009, 16.0035, 5.1831)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F2E #7D2E7F
analogous
#597F2E #307F2E #2E7F55
triadic
#307F2E #2E307F #7F2E30
tetradic
#307F2E #2E597F #7D2E7F #7F552E
square
#307F2E #2E597F #7D2E7F #7F552E
split-complementary
#307F2E #552E7F #7F2E59
monochromatic
#0E250D #1F521E #307F2E #41AC3E #64C661

Accessibility & contrast

On white

5.00
#307F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#307F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F2E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F2E#FFFFFF#000000##FFFFFF
##307F2E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#227B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f2e;
/* rgb */ color: rgb(48, 127, 46);
/* oklch */ color: oklch(52.9% 0.140 142.9);
Tailwind
colors: {
  custom: {
    50: '#72a56a',
    500: '#307f2e',
    950: '#000000',
  },
}
SCSS
$custom: #307f2e;
$custom-light: #72a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#307f2e",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 118.519,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.13996,
    "h": 142.9
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#307F2E
secondary
#AB5CAD
accent
#51D6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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