#307A15#307A15

#307A15 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.150 H 139.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#307A15
RGBrgb(48, 122, 21)
HSLhsl(104, 71%, 28%)
HSVhsv(104, 83%, 48%)
CMYKcmyk(60.7%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.08, -41.34, 44.31)
CIE-LCHlch(45.08, 60.60, 133.01°)
OKLaboklab(51.29% -0.1139 0.0983)
OKLCHoklch(51.29% 0.15 139.2)
XYZxyz(8.3135, 14.6009, 3.0895)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A15 #5F157A
analogous
#627A15 #307A15 #157A2C
triadic
#307A15 #15307A #7A1530
tetradic
#307A15 #15627A #5F157A #7A2C15
square
#307A15 #15627A #5F157A #7A2C15
split-complementary
#307A15 #2C157A #7A1562
monochromatic
#0A1A04 #1B460C #307A15 #45AE1E #5DDB2E

Accessibility & contrast

On white

5.36
#307A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#307A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A15
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A15#FFFFFF#000000##FFFFFF
##307A151.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#287667
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a15;
/* rgb */ color: rgb(48, 122, 21);
/* oklch */ color: oklch(51.3% 0.150 139.2);
Tailwind
colors: {
  custom: {
    50: '#72a15c',
    500: '#307a15',
    950: '#000000',
  },
}
SCSS
$custom: #307a15;
$custom-light: #72a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#307a15",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 103.96,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.15047,
    "h": 139.2
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#307A15
secondary
#903BAF
accent
#3AEDBE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307A15

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

Preview Lab → · Contrast checker → · Palette generator →

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