#307342#307342

#307342 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.9% C 0.103 H 149.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#307342
RGBrgb(48, 115, 66)
HSLhsl(136, 41%, 32%)
HSVhsv(136, 58%, 45%)
CMYKcmyk(58.3%, 0%, 42.6%, 54.9%)
CIE-LABlab(43.19, -33.00, 20.88)
CIE-LCHlch(43.19, 39.05, 147.68°)
OKLaboklab(49.89% -0.0894 0.0517)
OKLCHoklch(49.89% 0.103 149.9)
XYZxyz(8.3324, 13.2825, 7.2779)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307342 #733061
analogous
#407330 #307342 #307364
triadic
#307342 #423073 #734230
tetradic
#307342 #304073 #733061 #736430
square
#307342 #304073 #733061 #736430
split-complementary
#307342 #643073 #733040
monochromatic
#0C1D10 #1E4829 #307342 #429E5B #61BD79

Accessibility & contrast

On white

5.74
#307342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#307342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307342
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307342#FFFFFF#000000##FFFFFF
##3073421.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3F
Deuteranopia (green-blind)
#6B6445
Tritanopia (blue-blind)
#207167
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #307342;
/* rgb */ color: rgb(48, 115, 66);
/* oklch */ color: oklch(49.9% 0.103 149.9);
Tailwind
colors: {
  custom: {
    50: '#6f9c77',
    500: '#307342',
    950: '#000000',
  },
}
SCSS
$custom: #307342;
$custom-light: #6f9c77;
$custom-dark: #000000;
JSON
{
  "hex": "#307342",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 136.119,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.10327,
    "h": 149.9
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#307342
secondary
#A45B90
accent
#57B0D1
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #307342

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

Preview Lab → · Contrast checker → · Palette generator →

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