#307B2E#307B2E

#307B2E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.135 H 142.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#307B2E
RGBrgb(48, 123, 46)
HSLhsl(118, 46%, 33%)
HSVhsv(118, 63%, 48%)
CMYKcmyk(61%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.62, -39.46, 34.56)
CIE-LCHlch(45.62, 52.45, 138.79°)
OKLaboklab(51.8% -0.1073 0.0811)
OKLCHoklch(51.8% 0.135 142.9)
XYZxyz(8.7945, 14.9908, 5.0143)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B2E #792E7B
analogous
#567B2E #307B2E #2E7B52
triadic
#307B2E #2E307B #7B2E30
tetradic
#307B2E #2E567B #792E7B #7B522E
square
#307B2E #2E567B #792E7B #7B522E
split-complementary
#307B2E #522E7B #7B2E56
monochromatic
#0D220D #1F4E1D #307B2E #41A83F #62C360

Accessibility & contrast

On white

5.25
#307B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#307B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B2E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B2E#FFFFFF#000000##FFFFFF
##307B2E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#23776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b2e;
/* rgb */ color: rgb(48, 123, 46);
/* oklch */ color: oklch(51.8% 0.135 142.9);
Tailwind
colors: {
  custom: {
    50: '#71a26a',
    500: '#307b2e',
    950: '#000000',
  },
}
SCSS
$custom: #307b2e;
$custom-light: #71a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#307b2e",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 118.442,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.13452,
    "h": 142.9
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#307B2E
secondary
#A85BAA
accent
#53D5D2
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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