#307E1B#307E1B

#307E1B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.152 H 140.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#307E1B
RGBrgb(48, 126, 27)
HSLhsl(107, 65%, 30%)
HSVhsv(107, 79%, 49%)
CMYKcmyk(61.9%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.48, -42.47, 43.62)
CIE-LCHlch(46.48, 60.88, 134.23°)
OKLaboklab(52.46% -0.1166 0.0978)
OKLCHoklch(52.46% 0.152 140)
XYZxyz(8.8772, 15.6284, 3.5855)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E1B #691B7E
analogous
#617E1B #307E1B #1B7E38
triadic
#307E1B #1B307E #7E1B30
tetradic
#307E1B #1B617E #691B7E #7E381B
square
#307E1B #1B617E #691B7E #7E381B
split-complementary
#307E1B #381B7E #7E1B61
monochromatic
#0A1905 #1D4C10 #307E1B #43B026 #5ED63E

Accessibility & contrast

On white

5.09
#307E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#307E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E1B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E1B#FFFFFF#000000##FFFFFF
##307E1B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827205
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#267A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e1b;
/* rgb */ color: rgb(48, 126, 27);
/* oklch */ color: oklch(52.5% 0.152 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a45f',
    500: '#307e1b',
    950: '#000000',
  },
}
SCSS
$custom: #307e1b;
$custom-light: #73a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#307e1b",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 107.273,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.15217,
    "h": 140
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#307E1B
secondary
#9A43B2
accent
#40E8C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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