#307118#307118

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

Color values

HEX#307118
RGBrgb(48, 113, 24)
HSLhsl(104, 65%, 27%)
HSVhsv(104, 79%, 44%)
CMYKcmyk(57.5%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.01, -37.60, 40.33)
CIE-LCHlch(42.01, 55.14, 133.00°)
OKLaboklab(48.76% -0.1037 0.0905)
OKLCHoklch(48.76% 0.138 138.9)
XYZxyz(7.2886, 12.5040, 2.8934)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307118 #591871
analogous
#5D7118 #307118 #18712C
triadic
#307118 #183071 #711830
tetradic
#307118 #185D71 #591871 #712C18
square
#307118 #185D71 #591871 #712C18
split-complementary
#307118 #2C1871 #71185D
monochromatic
#0B1905 #1B3F0D #307118 #45A323 #5CD330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #307118;
/* rgb */ color: rgb(48, 113, 24);
/* oklch */ color: oklch(48.8% 0.138 138.9);
Tailwind
colors: {
  custom: {
    50: '#709a5c',
    500: '#307118',
    950: '#000000',
  },
}
SCSS
$custom: #307118;
$custom-light: #709a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307118",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 103.82,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.13759,
    "h": 138.9
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#307118
secondary
#8A3EA6
accent
#40E8BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307118

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

Preview Lab → · Contrast checker → · Palette generator →

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