#307642#307642

#307642 is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.7% C 0.108 H 149.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#307642
RGBrgb(48, 118, 66)
HSLhsl(135, 42%, 33%)
HSVhsv(135, 59%, 46%)
CMYKcmyk(59.3%, 0%, 44.1%, 53.7%)
CIE-LABlab(44.20, -34.32, 22.20)
CIE-LCHlch(44.20, 40.88, 147.11°)
OKLaboklab(50.72% -0.0929 0.0548)
OKLCHoklch(50.72% 0.108 149.5)
XYZxyz(8.6801, 13.9778, 7.3938)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307642 #763064
analogous
#417630 #307642 #307665
triadic
#307642 #423076 #764230
tetradic
#307642 #304176 #763064 #766530
square
#307642 #304176 #763064 #766530
split-complementary
#307642 #653076 #763041
monochromatic
#0D1F11 #1E4A2A #307642 #42A25A #61BF7A

Accessibility & contrast

On white

5.53
#307642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#307642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307642
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307642#FFFFFF#000000##FFFFFF
##3076421.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3E
Deuteranopia (green-blind)
#6D6645
Tritanopia (blue-blind)
#1F7469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #307642;
/* rgb */ color: rgb(48, 118, 66);
/* oklch */ color: oklch(50.7% 0.108 149.5);
Tailwind
colors: {
  custom: {
    50: '#6f9e77',
    500: '#307642',
    950: '#000000',
  },
}
SCSS
$custom: #307642;
$custom-light: #6f9e77;
$custom-dark: #000000;
JSON
{
  "hex": "#307642",
  "rgb": {
    "r": 48,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 135.429,
    "s": 42.169,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.10787,
    "h": 149.5
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#307642
secondary
#A65C93
accent
#56B2D2
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #307642

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

Preview Lab → · Contrast checker → · Palette generator →

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