#307C17#307C17

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

Color values

HEX#307C17
RGBrgb(48, 124, 23)
HSLhsl(105, 69%, 29%)
HSVhsv(105, 81%, 49%)
CMYKcmyk(61.3%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.78, -41.98, 44.32)
CIE-LCHlch(45.78, 61.05, 133.44°)
OKLaboklab(51.87% -0.1155 0.0987)
OKLCHoklch(51.87% 0.152 139.5)
XYZxyz(8.5809, 15.1048, 3.2738)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C17 #63177C
analogous
#637C17 #307C17 #177C31
triadic
#307C17 #17307C #7C1730
tetradic
#307C17 #17637C #63177C #7C3117
square
#307C17 #17637C #63177C #7C3117
split-complementary
#307C17 #31177C #7C1763
monochromatic
#0A1A05 #1C480D #307C17 #44B021 #5DD934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307C17#FFFFFF#000000##FFFFFF
##307C171.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)
#766A23
Tritanopia (blue-blind)
#277869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c17;
/* rgb */ color: rgb(48, 124, 23);
/* oklch */ color: oklch(51.9% 0.152 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a35d',
    500: '#307c17',
    950: '#000000',
  },
}
SCSS
$custom: #307c17;
$custom-light: #72a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#307c17",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 105.149,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.1519,
    "h": 139.5
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#307C17
secondary
#943EB1
accent
#3CECC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307C17

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

Preview Lab → · Contrast checker → · Palette generator →

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