#308128#308128

#308128 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.147 H 141.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#308128
RGBrgb(48, 129, 40)
HSLhsl(115, 53%, 33%)
HSVhsv(115, 69%, 51%)
CMYKcmyk(62.8%, 0%, 69%, 49.4%)
CIE-LABlab(47.60, -42.49, 39.55)
CIE-LCHlch(47.60, 58.04, 137.05°)
OKLaboklab(53.42% -0.1159 0.0911)
OKLCHoklch(53.42% 0.147 141.8)
XYZxyz(9.4517, 16.4812, 4.6902)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308128 #792881
analogous
#5C8128 #308128 #28814C
triadic
#308128 #283081 #812830
tetradic
#308128 #285C81 #792881 #814C28
square
#308128 #285C81 #792881 #814C28
split-complementary
#308128 #4C2881 #81285C
monochromatic
#0D240B #1F521A #308128 #41B036 #62CB58

Accessibility & contrast

On white

4.89
#308128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#308128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308128
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308128#FFFFFF#000000##FFFFFF
##3081281.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#237D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308128;
/* rgb */ color: rgb(48, 129, 40);
/* oklch */ color: oklch(53.4% 0.147 141.8);
Tailwind
colors: {
  custom: {
    50: '#73a667',
    500: '#308128',
    950: '#000000',
  },
}
SCSS
$custom: #308128;
$custom-light: #73a667;
$custom-dark: #000000;
JSON
{
  "hex": "#308128",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 114.607,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.14736,
    "h": 141.8
  },
  "luminance": 0.16482
}

Semantic roles & 50–950 ramp

primary
#308128
secondary
#A854B0
accent
#4CDCCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308128

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

Preview Lab → · Contrast checker → · Palette generator →

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