#307B4F#307B4F

#307B4F is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.102 H 154.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#307B4F
RGBrgb(48, 123, 79)
HSLhsl(145, 44%, 34%)
HSVhsv(145, 61%, 48%)
CMYKcmyk(61%, 0%, 35.8%, 51.8%)
CIE-LABlab(46.12, -34.00, 17.33)
CIE-LCHlch(46.12, 38.16, 153.00°)
OKLaboklab(52.38% -0.0923 0.0436)
OKLCHoklch(52.38% 0.102 154.7)
XYZxyz(9.7124, 15.3579, 9.8482)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B4F #7B305C
analogous
#367B30 #307B4F #307B74
triadic
#307B4F #4F307B #7B4F30
tetradic
#307B4F #30367B #7B305C #7B7430
square
#307B4F #30367B #7B305C #7B7430
split-complementary
#307B4F #74307B #7B3036
monochromatic
#0E2316 #1F4F33 #307B4F #41A76B #63C28A

Accessibility & contrast

On white

5.16
#307B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#307B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B4F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B4F#FFFFFF#000000##FFFFFF
##307B4F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#167A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307b4f;
/* rgb */ color: rgb(48, 123, 79);
/* oklch */ color: oklch(52.4% 0.102 154.7);
Tailwind
colors: {
  custom: {
    50: '#70a280',
    500: '#307b4f',
    950: '#000000',
  },
}
SCSS
$custom: #307b4f;
$custom-light: #70a280;
$custom-dark: #000000;
JSON
{
  "hex": "#307b4f",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 144.8,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.10212,
    "h": 154.7
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#307B4F
secondary
#A95D8A
accent
#549FD4
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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