#307B1F#307B1F

#307B1F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.146 H 140.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#307B1F
RGBrgb(48, 123, 31)
HSLhsl(109, 60%, 30%)
HSVhsv(109, 75%, 48%)
CMYKcmyk(61%, 0%, 74.8%, 51.8%)
CIE-LABlab(45.49, -41.01, 41.11)
CIE-LCHlch(45.49, 58.07, 134.92°)
OKLaboklab(51.65% -0.1124 0.0932)
OKLCHoklch(51.65% 0.146 140.4)
XYZxyz(8.5488, 14.8925, 3.7201)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B1F #6A1F7B
analogous
#5E7B1F #307B1F #1F7B3C
triadic
#307B1F #1F307B #7B1F30
tetradic
#307B1F #1F5E7B #6A1F7B #7B3C1F
square
#307B1F #1F5E7B #6A1F7B #7B3C1F
split-complementary
#307B1F #3C1F7B #7B1F5E
monochromatic
#0A1906 #1D4A13 #307B1F #43AC2B #5ED044

Accessibility & contrast

On white

5.28
#307B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#307B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B1F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B1F#FFFFFF#000000##FFFFFF
##307B1F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#267769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b1f;
/* rgb */ color: rgb(48, 123, 31);
/* oklch */ color: oklch(51.6% 0.146 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a261',
    500: '#307b1f',
    950: '#000000',
  },
}
SCSS
$custom: #307b1f;
$custom-light: #72a261;
$custom-dark: #000000;
JSON
{
  "hex": "#307b1f",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 108.913,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.14598,
    "h": 140.4
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#307B1F
secondary
#9B48AE
accent
#45E3C6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #307B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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