#307B2D#307B2D

#307B2D is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.135 H 142.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#307B2D
RGBrgb(48, 123, 45)
HSLhsl(118, 46%, 33%)
HSVhsv(118, 63%, 48%)
CMYKcmyk(61%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.61, -39.58, 35.03)
CIE-LCHlch(45.61, 52.86, 138.49°)
OKLaboklab(51.79% -0.1077 0.082)
OKLCHoklch(51.79% 0.135 142.7)
XYZxyz(8.7751, 14.9830, 4.9117)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B2D #782D7B
analogous
#577B2D #307B2D #2D7B51
triadic
#307B2D #2D307B #7B2D30
tetradic
#307B2D #2D577B #782D7B #7B512D
square
#307B2D #2D577B #782D7B #7B512D
split-complementary
#307B2D #512D7B #7B2D57
monochromatic
#0D210C #1F4E1D #307B2D #41A83D #62C45E

Accessibility & contrast

On white

5.25
#307B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#307B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B2D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B2D#FFFFFF#000000##FFFFFF
##307B2D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#746A33
Tritanopia (blue-blind)
#23776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b2d;
/* rgb */ color: rgb(48, 123, 45);
/* oklch */ color: oklch(51.8% 0.135 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a269',
    500: '#307b2d',
    950: '#000000',
  },
}
SCSS
$custom: #307b2d;
$custom-light: #71a269;
$custom-dark: #000000;
JSON
{
  "hex": "#307b2d",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 117.692,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.13538,
    "h": 142.7
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#307B2D
secondary
#A759AB
accent
#52D6D1
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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