#307F1A#307F1A

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

Color values

HEX#307F1A
RGBrgb(48, 127, 26)
HSLhsl(107, 66%, 30%)
HSVhsv(107, 80%, 50%)
CMYKcmyk(62.2%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.82, -42.92, 44.30)
CIE-LCHlch(46.82, 61.68, 134.09°)
OKLaboklab(52.74% -0.1178 0.0991)
OKLCHoklch(52.74% 0.154 139.9)
XYZxyz(8.9943, 15.8809, 3.5684)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F1A #691A7F
analogous
#627F1A #307F1A #1A7F37
triadic
#307F1A #1A307F #7F1A30
tetradic
#307F1A #1A627F #691A7F #7F371A
square
#307F1A #1A627F #691A7F #7F371A
split-complementary
#307F1A #371A7F #7F1A62
monochromatic
#0A1905 #1D4C10 #307F1A #43B224 #5ED73C

Accessibility & contrast

On white

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

On black

4.18
#307F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307F1A#FFFFFF#000000##FFFFFF
##307F1A1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307f1a;
/* rgb */ color: rgb(48, 127, 26);
/* oklch */ color: oklch(52.7% 0.154 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a55f',
    500: '#307f1a',
    950: '#000000',
  },
}
SCSS
$custom: #307f1a;
$custom-light: #73a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#307f1a",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 106.931,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.15396,
    "h": 139.9
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#307F1A
secondary
#9A42B3
accent
#3FE9C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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