#307D2E#307D2E

#307D2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.137 H 142.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#307D2E
RGBrgb(48, 125, 46)
HSLhsl(118, 46%, 34%)
HSVhsv(118, 63%, 49%)
CMYKcmyk(61.6%, 0%, 63.2%, 51%)
CIE-LABlab(46.30, -40.26, 35.33)
CIE-LCHlch(46.30, 53.57, 138.73°)
OKLaboklab(52.36% -0.1095 0.0828)
OKLCHoklch(52.36% 0.137 142.9)
XYZxyz(9.0452, 15.4920, 5.0978)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D2E #7B2E7D
analogous
#577D2E #307D2E #2E7D53
triadic
#307D2E #2E307D #7D2E30
tetradic
#307D2E #2E577D #7B2E7D #7D532E
square
#307D2E #2E577D #7B2E7D #7D532E
split-complementary
#307D2E #532E7D #7D2E57
monochromatic
#0E240D #1F501E #307D2E #41AA3E #63C561

Accessibility & contrast

On white

5.12
#307D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#307D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D2E#FFFFFF#000000##FFFFFF
##307D2E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#23796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d2e;
/* rgb */ color: rgb(48, 125, 46);
/* oklch */ color: oklch(52.4% 0.137 142.9);
Tailwind
colors: {
  custom: {
    50: '#71a36a',
    500: '#307d2e',
    950: '#000000',
  },
}
SCSS
$custom: #307d2e;
$custom-light: #71a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#307d2e",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 118.481,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.13725,
    "h": 142.9
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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