#307315#307315

#307315 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.142 H 138.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#307315
RGBrgb(48, 115, 21)
HSLhsl(103, 69%, 27%)
HSVhsv(103, 82%, 45%)
CMYKcmyk(58.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.68, -38.61, 42.04)
CIE-LCHlch(42.68, 57.08, 132.56°)
OKLaboklab(49.31% -0.1065 0.0936)
OKLCHoklch(49.31% 0.142 138.7)
XYZxyz(7.4847, 12.9434, 2.8132)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307315 #581573
analogous
#5F7315 #307315 #157329
triadic
#307315 #153073 #731530
tetradic
#307315 #155F73 #581573 #732915
square
#307315 #155F73 #581573 #732915
split-complementary
#307315 #291573 #73155F
monochromatic
#0B1A05 #1A3F0C #307315 #46A71E #5CD82A

Accessibility & contrast

On white

5.85
#307315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#307315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307315
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307315#FFFFFF#000000##FFFFFF
##3073151.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#296F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307315;
/* rgb */ color: rgb(48, 115, 21);
/* oklch */ color: oklch(49.3% 0.142 138.7);
Tailwind
colors: {
  custom: {
    50: '#719c5b',
    500: '#307315',
    950: '#000000',
  },
}
SCSS
$custom: #307315;
$custom-light: #719c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#307315",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 102.766,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.14182,
    "h": 138.7
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#307315
secondary
#893BA9
accent
#3CECB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307315

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

Preview Lab → · Contrast checker → · Palette generator →

#307315 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva