#307D18#307D18

#307D18 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.153 H 139.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#307D18
RGBrgb(48, 125, 24)
HSLhsl(106, 68%, 29%)
HSVhsv(106, 81%, 49%)
CMYKcmyk(61.6%, 0%, 80.8%, 51%)
CIE-LABlab(46.12, -42.30, 44.32)
CIE-LCHlch(46.12, 61.26, 133.66°)
OKLaboklab(52.16% -0.1163 0.0988)
OKLCHoklch(52.16% 0.153 139.6)
XYZxyz(8.7170, 15.3608, 3.3695)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D18 #65187D
analogous
#637D18 #307D18 #187D33
triadic
#307D18 #18307D #7D1830
tetradic
#307D18 #18637D #65187D #7D3318
square
#307D18 #18637D #65187D #7D3318
split-complementary
#307D18 #33187D #7D1863
monochromatic
#0A1A05 #1C4A0E #307D18 #44B022 #5DD937

Accessibility & contrast

On white

5.16
#307D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#307D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D18
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D18#FFFFFF#000000##FFFFFF
##307D181.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#26796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d18;
/* rgb */ color: rgb(48, 125, 24);
/* oklch */ color: oklch(52.2% 0.153 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a35e',
    500: '#307d18',
    950: '#000000',
  },
}
SCSS
$custom: #307d18;
$custom-light: #73a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#307d18",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 105.743,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.1526,
    "h": 139.6
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#307D18
secondary
#963FB2
accent
#3DEBC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D18

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

Preview Lab → · Contrast checker → · Palette generator →

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