#307218#307218

#307218 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.139 H 139.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#307218
RGBrgb(48, 114, 24)
HSLhsl(104, 65%, 27%)
HSVhsv(104, 79%, 45%)
CMYKcmyk(57.9%, 0%, 78.9%, 55.3%)
CIE-LABlab(42.35, -38.00, 40.67)
CIE-LCHlch(42.35, 55.66, 133.06°)
OKLaboklab(49.04% -0.1047 0.0912)
OKLCHoklch(49.04% 0.139 139)
XYZxyz(7.4008, 12.7283, 2.9308)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307218 #5A1872
analogous
#5D7218 #307218 #18722D
triadic
#307218 #183072 #721830
tetradic
#307218 #185D72 #5A1872 #722D18
square
#307218 #185D72 #5A1872 #722D18
split-complementary
#307218 #2D1872 #72185D
monochromatic
#0B1905 #1B3F0D #307218 #45A523 #5CD431

Accessibility & contrast

On white

5.92
#307218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#307218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307218
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307218#FFFFFF#000000##FFFFFF
##3072181.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766705
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#296E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307218;
/* rgb */ color: rgb(48, 114, 24);
/* oklch */ color: oklch(49.0% 0.139 139.0);
Tailwind
colors: {
  custom: {
    50: '#709b5c',
    500: '#307218',
    950: '#000000',
  },
}
SCSS
$custom: #307218;
$custom-light: #709b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307218",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 104,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.13887,
    "h": 139
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307218

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

Preview Lab → · Contrast checker → · Palette generator →

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