#307F18#307F18

#307F18 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.155 H 139.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#307F18
RGBrgb(48, 127, 24)
HSLhsl(106, 68%, 30%)
HSVhsv(106, 81%, 50%)
CMYKcmyk(62.2%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.81, -43.05, 44.97)
CIE-LCHlch(46.81, 62.25, 133.75°)
OKLaboklab(52.73% -0.1183 0.1002)
OKLCHoklch(52.73% 0.155 139.8)
XYZxyz(8.9728, 15.8722, 3.4548)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F18 #67187F
analogous
#647F18 #307F18 #187F33
triadic
#307F18 #18307F #7F1830
tetradic
#307F18 #18647F #67187F #7F3318
square
#307F18 #18647F #67187F #7F3318
split-complementary
#307F18 #33187F #7F1864
monochromatic
#0A1A05 #1D4C0E #307F18 #43B222 #5ED938

Accessibility & contrast

On white

5.03
#307F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#307F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F18#FFFFFF#000000##FFFFFF
##307F181.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#267B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f18;
/* rgb */ color: rgb(48, 127, 24);
/* oklch */ color: oklch(52.7% 0.155 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a55e',
    500: '#307f18',
    950: '#000000',
  },
}
SCSS
$custom: #307f18;
$custom-light: #73a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#307f18",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 106.019,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.15502,
    "h": 139.8
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#307F18
secondary
#983FB3
accent
#3DEBC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F18

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

Preview Lab → · Contrast checker → · Palette generator →

#307F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva