#308726#308726

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

Color values

HEX#308726
RGBrgb(48, 135, 38)
HSLhsl(114, 56%, 34%)
HSVhsv(114, 72%, 53%)
CMYKcmyk(64.4%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.61, -44.95, 42.54)
CIE-LCHlch(49.61, 61.89, 136.58°)
OKLaboklab(55.07% -0.1226 0.0971)
OKLCHoklch(55.07% 0.156 141.6)
XYZxyz(10.2322, 18.0953, 4.7869)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308726 #7D2687
analogous
#618726 #308726 #26874D
triadic
#308726 #263087 #872630
tetradic
#308726 #266187 #7D2687 #874D26
square
#308726 #266187 #7D2687 #874D26
split-complementary
#308726 #4D2687 #872661
monochromatic
#0E270B #1F5719 #308726 #41B733 #64D058

Accessibility & contrast

On white

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

On black

4.62
#308726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308726
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308726#FFFFFF#000000##000000
##3087261.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#218374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #308726;
/* rgb */ color: rgb(48, 135, 38);
/* oklch */ color: oklch(55.1% 0.156 141.6);
Tailwind
colors: {
  custom: {
    50: '#74ab66',
    500: '#308726',
    950: '#000000',
  },
}
SCSS
$custom: #308726;
$custom-light: #74ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#308726",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 113.814,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55074,
    "c": 0.15642,
    "h": 141.6
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#308726
secondary
#AB54B5
accent
#48DFD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308726

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

Preview Lab → · Contrast checker → · Palette generator →

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