#307C12#307C12

#307C12 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.154 H 139.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#307C12
RGBrgb(48, 124, 18)
HSLhsl(103, 75%, 28%)
HSVhsv(103, 85%, 49%)
CMYKcmyk(61.3%, 0%, 85.5%, 51.4%)
CIE-LABlab(45.75, -42.27, 45.83)
CIE-LCHlch(45.75, 62.35, 132.68°)
OKLaboklab(51.84% -0.1165 0.1011)
OKLCHoklch(51.84% 0.154 139.1)
XYZxyz(8.5354, 15.0866, 3.0344)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C12 #5E127C
analogous
#657C12 #307C12 #127C29
triadic
#307C12 #12307C #7C1230
tetradic
#307C12 #12657C #5E127C #7C2912
square
#307C12 #12657C #5E127C #7C2912
split-complementary
#307C12 #29127C #7C1265
monochromatic
#0A1B04 #1B470A #307C12 #45B11A #5CE029

Accessibility & contrast

On white

5.23
#307C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307C12
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C12#FFFFFF#000000##FFFFFF
##307C121.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#277869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c12;
/* rgb */ color: rgb(48, 124, 18);
/* oklch */ color: oklch(51.8% 0.154 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a35b',
    500: '#307c12',
    950: '#000000',
  },
}
SCSS
$custom: #307c12;
$custom-light: #73a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#307c12",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 103.019,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.15426,
    "h": 139.1
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#307C12
secondary
#8F38B2
accent
#37F1BC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307C12

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

Preview Lab → · Contrast checker → · Palette generator →

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