#307948#307948

#307948 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.106 H 151.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#307948
RGBrgb(48, 121, 72)
HSLhsl(140, 43%, 33%)
HSVhsv(140, 60%, 47%)
CMYKcmyk(60.3%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.32, -34.52, 20.26)
CIE-LCHlch(45.32, 40.03, 149.59°)
OKLaboklab(51.67% -0.0935 0.0505)
OKLCHoklch(51.67% 0.106 151.6)
XYZxyz(9.2253, 14.7701, 8.4944)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307948 #793061
analogous
#3C7930 #307948 #30796C
triadic
#307948 #483079 #794830
tetradic
#307948 #303C79 #793061 #796C30
square
#307948 #303C79 #793061 #796C30
split-complementary
#307948 #6C3079 #79303C
monochromatic
#0D2114 #1F4D2E #307948 #41A562 #62C182

Accessibility & contrast

On white

5.31
#307948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#307948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307948
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307948#FFFFFF#000000##FFFFFF
##3079481.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#1B776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307948;
/* rgb */ color: rgb(48, 121, 72);
/* oklch */ color: oklch(51.7% 0.106 151.6);
Tailwind
colors: {
  custom: {
    50: '#70a07b',
    500: '#307948',
    950: '#000000',
  },
}
SCSS
$custom: #307948;
$custom-light: #70a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#307948",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 139.726,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.10624,
    "h": 151.6
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#307948
secondary
#A85D8F
accent
#55A9D3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #307948

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

Preview Lab → · Contrast checker → · Palette generator →

#307948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva