#307617#307617

#307617 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.144 H 139.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#307617
RGBrgb(48, 118, 23)
HSLhsl(104, 67%, 28%)
HSVhsv(104, 81%, 46%)
CMYKcmyk(59.3%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.72, -39.66, 42.36)
CIE-LCHlch(43.72, 58.03, 133.12°)
OKLaboklab(50.17% -0.1093 0.0946)
OKLCHoklch(50.17% 0.144 139.1)
XYZxyz(7.8517, 13.6464, 3.0307)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307617 #5D1776
analogous
#5F7617 #307617 #17762E
triadic
#307617 #173076 #761730
tetradic
#307617 #175F76 #5D1776 #762E17
square
#307617 #175F76 #5D1776 #762E17
split-complementary
#307617 #2E1776 #76175F
monochromatic
#0A1A05 #1B430D #307617 #45A921 #5CD731

Accessibility & contrast

On white

5.63
#307617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#307617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307617
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307617#FFFFFF#000000##FFFFFF
##3076171.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#287264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #307617;
/* rgb */ color: rgb(48, 118, 23);
/* oklch */ color: oklch(50.2% 0.144 139.1);
Tailwind
colors: {
  custom: {
    50: '#719e5c',
    500: '#307617',
    950: '#000000',
  },
}
SCSS
$custom: #307617;
$custom-light: #719e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307617",
  "rgb": {
    "r": 48,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 104.211,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.14449,
    "h": 139.1
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#307617
secondary
#8E3EAB
accent
#3EEABD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307617

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

Preview Lab → · Contrast checker → · Palette generator →

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