#307115#307115

#307115 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.139 H 138.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#307115
RGBrgb(48, 113, 21)
HSLhsl(102, 69%, 26%)
HSVhsv(102, 81%, 44%)
CMYKcmyk(57.5%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.99, -37.81, 41.38)
CIE-LCHlch(41.99, 56.06, 132.42°)
OKLaboklab(48.74% -0.1044 0.0922)
OKLCHoklch(48.74% 0.139 138.5)
XYZxyz(7.2591, 12.4922, 2.7380)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307115 #561571
analogous
#5E7115 #307115 #157128
triadic
#307115 #153071 #711530
tetradic
#307115 #155E71 #561571 #712815
square
#307115 #155E71 #561571 #712815
split-complementary
#307115 #281571 #71155E
monochromatic
#0B1A05 #1A3D0B #307115 #46A51F #5CD729

Accessibility & contrast

On white

6.00
#307115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#307115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307115
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307115#FFFFFF#000000##FFFFFF
##3071151.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#2A6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #307115;
/* rgb */ color: rgb(48, 113, 21);
/* oklch */ color: oklch(48.7% 0.139 138.5);
Tailwind
colors: {
  custom: {
    50: '#709a5b',
    500: '#307115',
    950: '#000000',
  },
}
SCSS
$custom: #307115;
$custom-light: #709a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#307115",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 102.391,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48739,
    "c": 0.13929,
    "h": 138.5
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#307115
secondary
#873BA7
accent
#3CEBB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307115

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

Preview Lab → · Contrast checker → · Palette generator →

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