#307B17#307B17

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

Color values

HEX#307B17
RGBrgb(48, 123, 23)
HSLhsl(105, 68%, 29%)
HSVhsv(105, 81%, 48%)
CMYKcmyk(61%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.44, -41.60, 44.00)
CIE-LCHlch(45.44, 60.55, 133.39°)
OKLaboklab(51.59% -0.1145 0.098)
OKLCHoklch(51.59% 0.151 139.4)
XYZxyz(8.4562, 14.8554, 3.2322)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B17 #62177B
analogous
#627B17 #307B17 #177B30
triadic
#307B17 #17307B #7B1730
tetradic
#307B17 #17627B #62177B #7B3017
square
#307B17 #17627B #62177B #7B3017
split-complementary
#307B17 #30177B #7B1762
monochromatic
#0A1A05 #1C470D #307B17 #44AF21 #5DD933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307B17#FFFFFF#000000##FFFFFF
##307B171.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)
#756923
Tritanopia (blue-blind)
#277768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b17;
/* rgb */ color: rgb(48, 123, 23);
/* oklch */ color: oklch(51.6% 0.151 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a25d',
    500: '#307b17',
    950: '#000000',
  },
}
SCSS
$custom: #307b17;
$custom-light: #72a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#307b17",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 105,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.15068,
    "h": 139.4
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#307B17
secondary
#933EB0
accent
#3CEBC0
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307B17

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

Preview Lab → · Contrast checker → · Palette generator →

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