#307E1A#307E1A

#307E1A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.153 H 139.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#307E1A
RGBrgb(48, 126, 26)
HSLhsl(107, 66%, 30%)
HSVhsv(107, 79%, 49%)
CMYKcmyk(61.9%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.48, -42.54, 43.97)
CIE-LCHlch(46.48, 61.18, 134.05°)
OKLaboklab(52.46% -0.1168 0.0984)
OKLCHoklch(52.46% 0.153 139.9)
XYZxyz(8.8658, 15.6239, 3.5256)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E1A #681A7E
analogous
#627E1A #307E1A #1A7E36
triadic
#307E1A #1A307E #7E1A30
tetradic
#307E1A #1A627E #681A7E #7E361A
square
#307E1A #1A627E #681A7E #7E361A
split-complementary
#307E1A #361A7E #7E1A62
monochromatic
#0A1905 #1D4B10 #307E1A #43B124 #5ED73C

Accessibility & contrast

On white

5.09
#307E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#307E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E1A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E1A#FFFFFF#000000##FFFFFF
##307E1A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#267A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e1a;
/* rgb */ color: rgb(48, 126, 26);
/* oklch */ color: oklch(52.5% 0.153 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a45f',
    500: '#307e1a',
    950: '#000000',
  },
}
SCSS
$custom: #307e1a;
$custom-light: #73a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#307e1a",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 106.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.15273,
    "h": 139.9
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#307E1A
secondary
#9942B2
accent
#3FE9C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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