#307C1A#307C1A

#307C1A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.150 H 139.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#307C1A
RGBrgb(48, 124, 26)
HSLhsl(107, 65%, 29%)
HSVhsv(107, 79%, 49%)
CMYKcmyk(61.3%, 0%, 79%, 51.4%)
CIE-LABlab(45.79, -41.78, 43.31)
CIE-LCHlch(45.79, 60.18, 133.97°)
OKLaboklab(51.89% -0.1148 0.097)
OKLCHoklch(51.89% 0.15 139.8)
XYZxyz(8.6126, 15.1175, 3.4412)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C1A #661A7C
analogous
#617C1A #307C1A #1A7C35
triadic
#307C1A #1A307C #7C1A30
tetradic
#307C1A #1A617C #661A7C #7C351A
square
#307C1A #1A617C #661A7C #7C351A
split-complementary
#307C1A #351A7C #7C1A61
monochromatic
#0A1905 #1C490F #307C1A #44AF25 #5DD63B

Accessibility & contrast

On white

5.22
#307C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#307C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C1A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C1A#FFFFFF#000000##FFFFFF
##307C1A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#267869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c1a;
/* rgb */ color: rgb(48, 124, 26);
/* oklch */ color: oklch(51.9% 0.150 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a35f',
    500: '#307c1a',
    950: '#000000',
  },
}
SCSS
$custom: #307c1a;
$custom-light: #72a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#307c1a",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 106.531,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.15028,
    "h": 139.8
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#307C1A
secondary
#9742B0
accent
#40E8C2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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