#308C28#308C28

#308C28 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.161 H 142.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308C28
RGBrgb(48, 140, 40)
HSLhsl(115, 56%, 35%)
HSVhsv(115, 71%, 55%)
CMYKcmyk(65.7%, 0%, 71.4%, 45.1%)
CIE-LABlab(51.31, -46.62, 43.49)
CIE-LCHlch(51.31, 63.75, 136.99°)
OKLaboklab(56.48% -0.127 0.0993)
OKLCHoklch(56.48% 0.161 142)
XYZxyz(10.9794, 19.5367, 5.1994)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C28 #84288C
analogous
#628C28 #308C28 #288C52
triadic
#308C28 #28308C #8C2830
tetradic
#308C28 #28628C #84288C #8C5228
square
#308C28 #28628C #84288C #8C5228
split-complementary
#308C28 #52288C #8C2862
monochromatic
#0F2D0D #205C1A #308C28 #40BC36 #67D15E

Accessibility & contrast

On white

4.28
#308C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#308C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C28
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C28#FFFFFF#000000##000000
##308C281.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c28;
/* rgb */ color: rgb(48, 140, 40);
/* oklch */ color: oklch(56.5% 0.161 142.0);
Tailwind
colors: {
  custom: {
    50: '#75ae68',
    500: '#308c28',
    950: '#000000',
  },
}
SCSS
$custom: #308c28;
$custom-light: #75ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#308c28",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 115.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.16126,
    "h": 142
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#308C28
secondary
#AF5AB6
accent
#49DFD3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C28

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

Preview Lab → · Contrast checker → · Palette generator →

#308C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva