#307C1B#307C1B

#307C1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.150 H 139.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#307C1B
RGBrgb(48, 124, 27)
HSLhsl(107, 64%, 30%)
HSVhsv(107, 78%, 49%)
CMYKcmyk(61.3%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.80, -41.71, 42.95)
CIE-LCHlch(45.80, 59.87, 134.15°)
OKLaboklab(51.9% -0.1145 0.0964)
OKLCHoklch(51.9% 0.15 139.9)
XYZxyz(8.6240, 15.1220, 3.5011)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C1B #671B7C
analogous
#617C1B #307C1B #1B7C36
triadic
#307C1B #1B307C #7C1B30
tetradic
#307C1B #1B617C #671B7C #7C361B
square
#307C1B #1B617C #671B7C #7C361B
split-complementary
#307C1B #361B7C #7C1B61
monochromatic
#0A1905 #1D4A10 #307C1B #43AE26 #5ED53D

Accessibility & contrast

On white

5.22
#307C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#307C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C1B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C1B#FFFFFF#000000##FFFFFF
##307C1B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807006
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#26786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c1b;
/* rgb */ color: rgb(48, 124, 27);
/* oklch */ color: oklch(51.9% 0.150 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a35f',
    500: '#307c1b',
    950: '#000000',
  },
}
SCSS
$custom: #307c1b;
$custom-light: #72a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#307c1b",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 107.01,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.14971,
    "h": 139.9
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#307C1B
secondary
#9843B0
accent
#41E7C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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