#307B16#307B16

#307B16 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.151 H 139.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#307B16
RGBrgb(48, 123, 22)
HSLhsl(105, 70%, 28%)
HSVhsv(105, 82%, 48%)
CMYKcmyk(61%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.43, -41.66, 44.32)
CIE-LCHlch(45.43, 60.83, 133.23°)
OKLaboklab(51.58% -0.1147 0.0985)
OKLCHoklch(51.58% 0.151 139.3)
XYZxyz(8.4463, 14.8515, 3.1804)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B16 #61167B
analogous
#627B16 #307B16 #167B2E
triadic
#307B16 #16307B #7B1630
tetradic
#307B16 #16627B #61167B #7B2E16
square
#307B16 #16627B #61167B #7B2E16
split-complementary
#307B16 #2E167B #7B1662
monochromatic
#0A1A05 #1C470D #307B16 #44AF1F #5DDA31

Accessibility & contrast

On white

5.29
#307B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#307B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B16
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B16#FFFFFF#000000##FFFFFF
##307B161.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#277768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b16;
/* rgb */ color: rgb(48, 123, 22);
/* oklch */ color: oklch(51.6% 0.151 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a25d',
    500: '#307b16',
    950: '#000000',
  },
}
SCSS
$custom: #307b16;
$custom-light: #72a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#307b16",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 104.554,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.15119,
    "h": 139.3
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#307B16
secondary
#923DB0
accent
#3BECBF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307B16

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

Preview Lab → · Contrast checker → · Palette generator →

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