#307B15#307B15

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

Color values

HEX#307B15
RGBrgb(48, 123, 21)
HSLhsl(104, 71%, 28%)
HSVhsv(104, 83%, 48%)
CMYKcmyk(61%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.42, -41.72, 44.63)
CIE-LCHlch(45.42, 61.10, 133.07°)
OKLaboklab(51.58% -0.1149 0.099)
OKLCHoklch(51.58% 0.152 139.3)
XYZxyz(8.4369, 14.8477, 3.1306)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B15 #60157B
analogous
#637B15 #307B15 #157B2D
triadic
#307B15 #15307B #7B1530
tetradic
#307B15 #15637B #60157B #7B2D15
square
#307B15 #15637B #60157B #7B2D15
split-complementary
#307B15 #2D157B #7B1563
monochromatic
#0A1A04 #1C470C #307B15 #44AF1E #5DDB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307B15#FFFFFF#000000##FFFFFF
##307B151.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)
#766921
Tritanopia (blue-blind)
#277768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307b15;
/* rgb */ color: rgb(48, 123, 21);
/* oklch */ color: oklch(51.6% 0.152 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a25c',
    500: '#307b15',
    950: '#000000',
  },
}
SCSS
$custom: #307b15;
$custom-light: #72a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#307b15",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 104.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.15168,
    "h": 139.3
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#307B15
secondary
#913BB0
accent
#3AEEBE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307B15

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

Preview Lab → · Contrast checker → · Palette generator →

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