#307B4C#307B4C

#307B4C is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.105 H 153.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#307B4C
RGBrgb(48, 123, 76)
HSLhsl(142, 44%, 34%)
HSVhsv(142, 61%, 48%)
CMYKcmyk(61%, 0%, 38.2%, 51.8%)
CIE-LABlab(46.06, -34.61, 18.97)
CIE-LCHlch(46.06, 39.47, 151.28°)
OKLaboklab(52.31% -0.0938 0.0475)
OKLCHoklch(52.31% 0.105 153.2)
XYZxyz(9.6056, 15.3152, 9.2860)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B4C #7B305F
analogous
#397B30 #307B4C #307B71
triadic
#307B4C #4C307B #7B4C30
tetradic
#307B4C #30397B #7B305F #7B7130
square
#307B4C #30397B #7B305F #7B7130
split-complementary
#307B4C #71307B #7B3039
monochromatic
#0E2316 #1F4F31 #307B4C #41A767 #63C287

Accessibility & contrast

On white

5.17
#307B4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#307B4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B4C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B4C#FFFFFF#000000##FFFFFF
##307B4C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7149
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#18796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307b4c;
/* rgb */ color: rgb(48, 123, 76);
/* oklch */ color: oklch(52.3% 0.105 153.2);
Tailwind
colors: {
  custom: {
    50: '#70a27e',
    500: '#307b4c',
    950: '#000000',
  },
}
SCSS
$custom: #307b4c;
$custom-light: #70a27e;
$custom-dark: #000000;
JSON
{
  "hex": "#307b4c",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 76
  },
  "hsl": {
    "h": 142.4,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.10517,
    "h": 153.2
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#307B4C
secondary
#A95D8D
accent
#54A4D4
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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