#308628#308628

#308628 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.154 H 141.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#308628
RGBrgb(48, 134, 40)
HSLhsl(115, 54%, 34%)
HSVhsv(115, 70%, 53%)
CMYKcmyk(64.2%, 0%, 70.1%, 47.5%)
CIE-LABlab(49.29, -44.39, 41.36)
CIE-LCHlch(49.29, 60.67, 137.03°)
OKLaboklab(54.81% -0.121 0.0949)
OKLCHoklch(54.81% 0.154 141.9)
XYZxyz(10.1265, 17.8308, 4.9151)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308628 #7E2886
analogous
#5F8628 #308628 #28864F
triadic
#308628 #283086 #862830
tetradic
#308628 #285F86 #7E2886 #864F28
square
#308628 #285F86 #7E2886 #864F28
split-complementary
#308628 #4F2886 #86285F
monochromatic
#0E280C #1F571A #308628 #41B536 #64CE5B

Accessibility & contrast

On white

4.60
#308628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#308628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308628
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308628#FFFFFF#000000##FFFFFF
##3086281.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A1B
Deuteranopia (green-blind)
#7F7231
Tritanopia (blue-blind)
#218273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308628;
/* rgb */ color: rgb(48, 134, 40);
/* oklch */ color: oklch(54.8% 0.154 141.9);
Tailwind
colors: {
  custom: {
    50: '#74aa67',
    500: '#308628',
    950: '#000000',
  },
}
SCSS
$custom: #308628;
$custom-light: #74aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#308628",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 114.894,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.15376,
    "h": 141.9
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#308628
secondary
#AB57B3
accent
#4ADDD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308628

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

Preview Lab → · Contrast checker → · Palette generator →

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