#307B2F#307B2F

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

Color values

HEX#307B2F
RGBrgb(48, 123, 47)
HSLhsl(119, 45%, 33%)
HSVhsv(119, 62%, 48%)
CMYKcmyk(61%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.63, -39.34, 34.08)
CIE-LCHlch(45.63, 52.05, 139.10°)
OKLaboklab(51.82% -0.1069 0.0802)
OKLCHoklch(51.82% 0.134 143.1)
XYZxyz(8.8145, 14.9987, 5.1193)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B2F #7A2F7B
analogous
#567B2F #307B2F #2F7B54
triadic
#307B2F #2F307B #7B2F30
tetradic
#307B2F #2F567B #7A2F7B #7B542F
square
#307B2F #2F567B #7A2F7B #7B542F
split-complementary
#307B2F #542F7B #7B2F56
monochromatic
#0D220D #1F4F1E #307B2F #41A740 #63C362

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307B2F#FFFFFF#000000##FFFFFF
##307B2F1.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)
#7E7027
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#23786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b2f;
/* rgb */ color: rgb(48, 123, 47);
/* oklch */ color: oklch(51.8% 0.134 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a26a',
    500: '#307b2f',
    950: '#000000',
  },
}
SCSS
$custom: #307b2f;
$custom-light: #71a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#307b2f",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 119.211,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.13365,
    "h": 143.1
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#307B2F
secondary
#A95CAA
accent
#53D4D3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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