#307018#307018

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

Color values

HEX#307018
RGBrgb(48, 112, 24)
HSLhsl(104, 65%, 27%)
HSVhsv(104, 79%, 44%)
CMYKcmyk(57.1%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.66, -37.20, 39.99)
CIE-LCHlch(41.66, 54.61, 132.93°)
OKLaboklab(48.48% -0.1026 0.0898)
OKLCHoklch(48.48% 0.136 138.8)
XYZxyz(7.1777, 12.2821, 2.8564)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307018 #581870
analogous
#5C7018 #307018 #18702C
triadic
#307018 #183070 #701830
tetradic
#307018 #185C70 #581870 #702C18
square
#307018 #185C70 #581870 #702C18
split-complementary
#307018 #2C1870 #70185C
monochromatic
#0B1905 #1A3E0D #307018 #46A223 #5CD330

Accessibility & contrast

On white

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

On black

3.46
#307018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307018#FFFFFF#000000##FFFFFF
##3070181.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307018;
/* rgb */ color: rgb(48, 112, 24);
/* oklch */ color: oklch(48.5% 0.136 138.8);
Tailwind
colors: {
  custom: {
    50: '#709a5c',
    500: '#307018',
    950: '#000000',
  },
}
SCSS
$custom: #307018;
$custom-light: #709a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307018",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 103.636,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.1363,
    "h": 138.8
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#307018
secondary
#893EA5
accent
#40E8BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307018

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

Preview Lab → · Contrast checker → · Palette generator →

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