#308528#308528

#308528 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.152 H 141.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#308528
RGBrgb(48, 133, 40)
HSLhsl(115, 54%, 34%)
HSVhsv(115, 70%, 52%)
CMYKcmyk(63.9%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.95, -44.01, 41.00)
CIE-LCHlch(48.95, 60.15, 137.03°)
OKLaboklab(54.54% -0.12 0.0941)
OKLCHoklch(54.54% 0.152 141.9)
XYZxyz(9.9889, 17.5557, 4.8693)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308528 #7D2885
analogous
#5F8528 #308528 #28854F
triadic
#308528 #283085 #852830
tetradic
#308528 #285F85 #7D2885 #854F28
square
#308528 #285F85 #7D2885 #854F28
split-complementary
#308528 #4F2885 #85285F
monochromatic
#0E270C #1F561A #308528 #41B436 #64CD5A

Accessibility & contrast

On white

4.65
#308528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#308528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308528
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308528#FFFFFF#000000##FFFFFF
##3085281.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#218172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308528;
/* rgb */ color: rgb(48, 133, 40);
/* oklch */ color: oklch(54.5% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#73a967',
    500: '#308528',
    950: '#000000',
  },
}
SCSS
$custom: #308528;
$custom-light: #73a967;
$custom-dark: #000000;
JSON
{
  "hex": "#308528",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 114.839,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.15249,
    "h": 141.9
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#308528
secondary
#AB56B3
accent
#4BDDD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308528

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

Preview Lab → · Contrast checker → · Palette generator →

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