#307117#307117

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

Color values

HEX#307117
RGBrgb(48, 113, 23)
HSLhsl(103, 66%, 27%)
HSVhsv(103, 80%, 44%)
CMYKcmyk(57.5%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.00, -37.67, 40.69)
CIE-LCHlch(42.00, 55.45, 132.80°)
OKLaboklab(48.75% -0.1039 0.0911)
OKLCHoklch(48.75% 0.138 138.8)
XYZxyz(7.2784, 12.4999, 2.8396)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307117 #581771
analogous
#5D7117 #307117 #17712B
triadic
#307117 #173071 #711730
tetradic
#307117 #175D71 #581771 #712B17
square
#307117 #175D71 #581771 #712B17
split-complementary
#307117 #2B1771 #71175D
monochromatic
#0B1905 #1A3E0D #307117 #46A421 #5CD42E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307117#FFFFFF#000000##FFFFFF
##3071171.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)
#756603
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#2A6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #307117;
/* rgb */ color: rgb(48, 113, 23);
/* oklch */ color: oklch(48.8% 0.138 138.8);
Tailwind
colors: {
  custom: {
    50: '#709a5b',
    500: '#307117',
    950: '#000000',
  },
}
SCSS
$custom: #307117;
$custom-light: #709a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#307117",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 103.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.13817,
    "h": 138.8
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#307117
secondary
#893DA7
accent
#3FE9BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307117

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

Preview Lab → · Contrast checker → · Palette generator →

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