#307841#307841

#307841 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.3% C 0.112 H 148.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#307841
RGBrgb(48, 120, 65)
HSLhsl(134, 43%, 33%)
HSVhsv(134, 60%, 47%)
CMYKcmyk(60%, 0%, 45.8%, 52.9%)
CIE-LABlab(44.86, -35.37, 23.61)
CIE-LCHlch(44.86, 42.53, 146.28°)
OKLaboklab(51.26% -0.0957 0.0581)
OKLCHoklch(51.26% 0.112 148.8)
XYZxyz(8.8889, 14.4422, 7.3192)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307841 #783067
analogous
#437830 #307841 #307865
triadic
#307841 #413078 #784130
tetradic
#307841 #304378 #783067 #786530
square
#307841 #304378 #783067 #786530
split-complementary
#307841 #653078 #783043
monochromatic
#0D2112 #1F4C29 #307841 #41A459 #62C078

Accessibility & contrast

On white

5.40
#307841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#307841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307841
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307841#FFFFFF#000000##FFFFFF
##3078411.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#6F6845
Tritanopia (blue-blind)
#1E766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #307841;
/* rgb */ color: rgb(48, 120, 65);
/* oklch */ color: oklch(51.3% 0.112 148.8);
Tailwind
colors: {
  custom: {
    50: '#70a076',
    500: '#307841',
    950: '#000000',
  },
}
SCSS
$custom: #307841;
$custom-light: #70a076;
$custom-dark: #000000;
JSON
{
  "hex": "#307841",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 134.167,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.11194,
    "h": 148.8
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#307841
secondary
#A75C96
accent
#55B5D3
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #307841

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

Preview Lab → · Contrast checker → · Palette generator →

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