#307E15#307E15

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

Color values

HEX#307E15
RGBrgb(48, 126, 21)
HSLhsl(105, 71%, 29%)
HSVhsv(105, 83%, 49%)
CMYKcmyk(61.9%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.45, -42.86, 45.59)
CIE-LCHlch(46.45, 62.57, 133.23°)
OKLaboklab(52.43% -0.118 0.101)
OKLCHoklch(52.43% 0.155 139.4)
XYZxyz(8.8148, 15.6034, 3.2566)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E15 #63157E
analogous
#657E15 #307E15 #157E2E
triadic
#307E15 #15307E #7E1530
tetradic
#307E15 #15657E #63157E #7E2E15
square
#307E15 #15657E #63157E #7E2E15
split-complementary
#307E15 #2E157E #7E1565
monochromatic
#0A1A04 #1C4A0C #307E15 #44B21E #5DDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307E15#FFFFFF#000000##FFFFFF
##307E151.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)
#786C22
Tritanopia (blue-blind)
#267A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e15;
/* rgb */ color: rgb(48, 126, 21);
/* oklch */ color: oklch(52.4% 0.155 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a45d',
    500: '#307e15',
    950: '#000000',
  },
}
SCSS
$custom: #307e15;
$custom-light: #73a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#307e15",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 104.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.15531,
    "h": 139.4
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#307E15
secondary
#943CB3
accent
#3AEEC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307E15

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

Preview Lab → · Contrast checker → · Palette generator →

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