#308940#308940

#308940 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.138 H 146.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308940
RGBrgb(48, 137, 64)
HSLhsl(131, 48%, 36%)
HSVhsv(131, 65%, 54%)
CMYKcmyk(65%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.56, -42.56, 31.30)
CIE-LCHlch(50.56, 52.83, 143.67°)
OKLaboklab(55.94% -0.115 0.0754)
OKLCHoklch(55.94% 0.138 146.7)
XYZxyz(11.0892, 18.8888, 7.9110)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308940 #893079
analogous
#4D8930 #308940 #30896D
triadic
#308940 #403089 #894030
tetradic
#308940 #304D89 #893079 #896D30
square
#308940 #304D89 #893079 #896D30
split-complementary
#308940 #6D3089 #89304D
monochromatic
#102E16 #205C2B #308940 #40B655 #69CA7A

Accessibility & contrast

On white

4.40
#308940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308940
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308940#FFFFFF#000000##000000
##3089401.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3A
Deuteranopia (green-blind)
#807545
Tritanopia (blue-blind)
#178678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308940;
/* rgb */ color: rgb(48, 137, 64);
/* oklch */ color: oklch(55.9% 0.138 146.7);
Tailwind
colors: {
  custom: {
    50: '#73ac76',
    500: '#308940',
    950: '#000000',
  },
}
SCSS
$custom: #308940;
$custom-light: #73ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#308940",
  "rgb": {
    "r": 48,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 130.787,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.13751,
    "h": 146.7
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#308940
secondary
#B263A4
accent
#50BFD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308940

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

Preview Lab → · Contrast checker → · Palette generator →

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