#308945#308945

#308945 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.133 H 148.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308945
RGBrgb(48, 137, 69)
HSLhsl(134, 48%, 36%)
HSVhsv(134, 65%, 54%)
CMYKcmyk(65%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.63, -41.78, 28.75)
CIE-LCHlch(50.63, 50.71, 145.46°)
OKLaboklab(56.02% -0.1128 0.07)
OKLCHoklch(56.02% 0.133 148.2)
XYZxyz(11.2380, 18.9482, 8.6942)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308945 #893074
analogous
#488930 #308945 #308972
triadic
#308945 #453089 #894530
tetradic
#308945 #304889 #893074 #897230
square
#308945 #304889 #893074 #897230
split-complementary
#308945 #723089 #893048
monochromatic
#102E17 #205C2E #308945 #40B65C #69CA80

Accessibility & contrast

On white

4.38
#308945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#308945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308945
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308945#FFFFFF#000000##000000
##3089451.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3F
Deuteranopia (green-blind)
#7F754A
Tritanopia (blue-blind)
#158679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308945;
/* rgb */ color: rgb(48, 137, 69);
/* oklch */ color: oklch(56.0% 0.133 148.2);
Tailwind
colors: {
  custom: {
    50: '#73ac7a',
    500: '#308945',
    950: '#000000',
  },
}
SCSS
$custom: #308945;
$custom-light: #73ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#308945",
  "rgb": {
    "r": 48,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 134.157,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.13272,
    "h": 148.2
  },
  "luminance": 0.18949
}

Semantic roles & 50–950 ramp

primary
#308945
secondary
#B2639F
accent
#50B8D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308945

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

Preview Lab → · Contrast checker → · Palette generator →

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