#307F16#307F16

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

Color values

HEX#307F16
RGBrgb(48, 127, 22)
HSLhsl(105, 70%, 29%)
HSVhsv(105, 83%, 50%)
CMYKcmyk(62.2%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.80, -43.17, 45.60)
CIE-LCHlch(46.80, 62.80, 133.43°)
OKLaboklab(52.71% -0.1188 0.1012)
OKLCHoklch(52.71% 0.156 139.6)
XYZxyz(8.9527, 15.8642, 3.3492)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F16 #65167F
analogous
#657F16 #307F16 #167F31
triadic
#307F16 #16307F #7F1630
tetradic
#307F16 #16657F #65167F #7F3116
square
#307F16 #16657F #65167F #7F3116
split-complementary
#307F16 #31167F #7F1665
monochromatic
#0A1A05 #1C4B0D #307F16 #44B31F #5DDC34

Accessibility & contrast

On white

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

On black

4.17
#307F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307F16#FFFFFF#000000##FFFFFF
##307F161.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307f16;
/* rgb */ color: rgb(48, 127, 22);
/* oklch */ color: oklch(52.7% 0.156 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a55d',
    500: '#307f16',
    950: '#000000',
  },
}
SCSS
$custom: #307f16;
$custom-light: #73a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#307f16",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 105.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.15603,
    "h": 139.6
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#307F16
secondary
#963DB4
accent
#3BEDC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F16

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

Preview Lab → · Contrast checker → · Palette generator →

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