#308642#308642

#308642 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.131 H 147.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#308642
RGBrgb(48, 134, 66)
HSLhsl(133, 47%, 36%)
HSVhsv(133, 64%, 53%)
CMYKcmyk(64.2%, 0%, 50.7%, 47.5%)
CIE-LABlab(49.58, -41.05, 29.04)
CIE-LCHlch(49.58, 50.29, 144.73°)
OKLaboklab(55.15% -0.1109 0.0705)
OKLCHoklch(55.15% 0.131 147.6)
XYZxyz(10.7266, 18.0709, 8.0759)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308642 #863074
analogous
#498630 #308642 #30866D
triadic
#308642 #423086 #864230
tetradic
#308642 #304986 #863074 #866D30
square
#308642 #304986 #863074 #866D30
split-complementary
#308642 #6D3086 #863049
monochromatic
#102C16 #20592C #308642 #40B358 #68C97C

Accessibility & contrast

On white

4.55
#308642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#308642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308642
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308642#FFFFFF#000000##000000
##3086421.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A3C
Deuteranopia (green-blind)
#7D7347
Tritanopia (blue-blind)
#188376
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #308642;
/* rgb */ color: rgb(48, 134, 66);
/* oklch */ color: oklch(55.1% 0.131 147.6);
Tailwind
colors: {
  custom: {
    50: '#72aa78',
    500: '#308642',
    950: '#000000',
  },
}
SCSS
$custom: #308642;
$custom-light: #72aa78;
$custom-dark: #000000;
JSON
{
  "hex": "#308642",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 132.558,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.13139,
    "h": 147.6
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#308642
secondary
#B062A0
accent
#51BBD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308642

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

Preview Lab → · Contrast checker → · Palette generator →

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