#307145#307145

#307145 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.097 H 151.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#307145
RGBrgb(48, 113, 69)
HSLhsl(139, 40%, 32%)
HSVhsv(139, 58%, 44%)
CMYKcmyk(57.5%, 0%, 38.9%, 55.7%)
CIE-LABlab(42.56, -31.52, 18.33)
CIE-LCHlch(42.56, 36.46, 149.81°)
OKLaboklab(49.4% -0.0855 0.0458)
OKLCHoklch(49.4% 0.097 151.8)
XYZxyz(8.1976, 12.8676, 7.6808)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307145 #71305C
analogous
#3C7130 #307145 #307166
triadic
#307145 #453071 #714530
tetradic
#307145 #303C71 #71305C #716630
square
#307145 #303C71 #71305C #716630
split-complementary
#307145 #663071 #71303C
monochromatic
#0C1B11 #1E462B #307145 #429C5F #60BB7E

Accessibility & contrast

On white

5.88
#307145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#307145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307145
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307145#FFFFFF#000000##FFFFFF
##3071451.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#1F6F66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307145;
/* rgb */ color: rgb(48, 113, 69);
/* oklch */ color: oklch(49.4% 0.097 151.8);
Tailwind
colors: {
  custom: {
    50: '#6e9a79',
    500: '#307145',
    950: '#000000',
  },
}
SCSS
$custom: #307145;
$custom-light: #6e9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#307145",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 139.385,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.097,
    "h": 151.8
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#307145
secondary
#A25B8B
accent
#58A9D0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #307145

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

Preview Lab → · Contrast checker → · Palette generator →

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