#307D1A#307D1A

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

Color values

HEX#307D1A
RGBrgb(48, 125, 26)
HSLhsl(107, 66%, 30%)
HSVhsv(107, 79%, 49%)
CMYKcmyk(61.6%, 0%, 79.2%, 51%)
CIE-LABlab(46.14, -42.16, 43.64)
CIE-LCHlch(46.14, 60.68, 134.01°)
OKLaboklab(52.17% -0.1158 0.0977)
OKLCHoklch(52.17% 0.152 139.9)
XYZxyz(8.7386, 15.3694, 3.4832)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D1A #671A7D
analogous
#617D1A #307D1A #1A7D36
triadic
#307D1A #1A307D #7D1A30
tetradic
#307D1A #1A617D #671A7D #7D361A
square
#307D1A #1A617D #671A7D #7D361A
split-complementary
#307D1A #361A7D #7D1A61
monochromatic
#0A1905 #1D4A0F #307D1A #43B025 #5ED63B

Accessibility & contrast

On white

5.15
#307D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307D1A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D1A#FFFFFF#000000##FFFFFF
##307D1A1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307d1a;
/* rgb */ color: rgb(48, 125, 26);
/* oklch */ color: oklch(52.2% 0.152 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a35f',
    500: '#307d1a',
    950: '#000000',
  },
}
SCSS
$custom: #307d1a;
$custom-light: #72a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#307d1a",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 106.667,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.15151,
    "h": 139.9
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#307D1A
secondary
#9842B1
accent
#3FE9C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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