#307E12#307E12

#307E12 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.157 H 139.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#307E12
RGBrgb(48, 126, 18)
HSLhsl(103, 75%, 28%)
HSVhsv(103, 86%, 49%)
CMYKcmyk(61.9%, 0%, 85.7%, 50.6%)
CIE-LABlab(46.44, -43.02, 46.45)
CIE-LCHlch(46.44, 63.32, 132.80°)
OKLaboklab(52.41% -0.1186 0.1024)
OKLCHoklch(52.41% 0.157 139.2)
XYZxyz(8.7886, 15.5930, 3.1188)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E12 #60127E
analogous
#667E12 #307E12 #127E2A
triadic
#307E12 #12307E #7E1230
tetradic
#307E12 #12667E #60127E #7E2A12
square
#307E12 #12667E #60127E #7E2A12
split-complementary
#307E12 #2A127E #7E1266
monochromatic
#0A1B04 #1C480A #307E12 #44B41A #5DE12A

Accessibility & contrast

On white

5.10
#307E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#307E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E12
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E12#FFFFFF#000000##FFFFFF
##307E121.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#27796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e12;
/* rgb */ color: rgb(48, 126, 18);
/* oklch */ color: oklch(52.4% 0.157 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a45b',
    500: '#307e12',
    950: '#000000',
  },
}
SCSS
$custom: #307e12;
$custom-light: #73a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#307e12",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 103.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.15665,
    "h": 139.2
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#307E12
secondary
#9138B4
accent
#36F2BE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307E12

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

Preview Lab → · Contrast checker → · Palette generator →

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