#307015#307015

#307015 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.138 H 138.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#307015
RGBrgb(48, 112, 21)
HSLhsl(102, 68%, 26%)
HSVhsv(102, 81%, 44%)
CMYKcmyk(57.1%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.64, -37.41, 41.05)
CIE-LCHlch(41.64, 55.54, 132.34°)
OKLaboklab(48.45% -0.1033 0.0915)
OKLCHoklch(48.45% 0.138 138.5)
XYZxyz(7.1482, 12.2703, 2.7010)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307015 #551570
analogous
#5D7015 #307015 #157027
triadic
#307015 #153070 #701530
tetradic
#307015 #155D70 #551570 #702715
square
#307015 #155D70 #551570 #702715
split-complementary
#307015 #271570 #70155D
monochromatic
#0B1A05 #1A3C0B #307015 #46A41F #5CD729

Accessibility & contrast

On white

6.08
#307015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#307015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307015
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307015#FFFFFF#000000##FFFFFF
##3070151.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601F
Tritanopia (blue-blind)
#2A6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #307015;
/* rgb */ color: rgb(48, 112, 21);
/* oklch */ color: oklch(48.5% 0.138 138.5);
Tailwind
colors: {
  custom: {
    50: '#709a5a',
    500: '#307015',
    950: '#000000',
  },
}
SCSS
$custom: #307015;
$custom-light: #709a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#307015",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 102.198,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.13803,
    "h": 138.5
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#307015
secondary
#863BA6
accent
#3DEBB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307015

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

Preview Lab → · Contrast checker → · Palette generator →

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