#307C15#307C15

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

Color values

HEX#307C15
RGBrgb(48, 124, 21)
HSLhsl(104, 71%, 28%)
HSVhsv(104, 83%, 49%)
CMYKcmyk(61.3%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.77, -42.10, 44.95)
CIE-LCHlch(45.77, 61.59, 133.12°)
OKLaboklab(51.86% -0.1159 0.0997)
OKLCHoklch(51.86% 0.153 139.3)
XYZxyz(8.5616, 15.0971, 3.1722)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C15 #61157C
analogous
#637C15 #307C15 #157C2D
triadic
#307C15 #15307C #7C1530
tetradic
#307C15 #15637C #61157C #7C2D15
square
#307C15 #15637C #61157C #7C2D15
split-complementary
#307C15 #2D157C #7C1563
monochromatic
#0A1A04 #1C480C #307C15 #44B01E #5DDC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307C15#FFFFFF#000000##FFFFFF
##307C151.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)
#807000
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#277869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c15;
/* rgb */ color: rgb(48, 124, 21);
/* oklch */ color: oklch(51.9% 0.153 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a35c',
    500: '#307c15',
    950: '#000000',
  },
}
SCSS
$custom: #307c15;
$custom-light: #73a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#307c15",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 104.272,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.1529,
    "h": 139.3
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#307C15
secondary
#923CB1
accent
#3AEEBF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307C15

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

Preview Lab → · Contrast checker → · Palette generator →

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