#308428#308428

#308428 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.151 H 141.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#308428
RGBrgb(48, 132, 40)
HSLhsl(115, 53%, 34%)
HSVhsv(115, 70%, 52%)
CMYKcmyk(63.6%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.61, -43.63, 40.64)
CIE-LCHlch(48.61, 59.63, 137.04°)
OKLaboklab(54.26% -0.119 0.0934)
OKLCHoklch(54.26% 0.151 141.9)
XYZxyz(9.8527, 17.2832, 4.8238)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308428 #7C2884
analogous
#5E8428 #308428 #28844E
triadic
#308428 #283084 #842830
tetradic
#308428 #285E84 #7C2884 #844E28
square
#308428 #285E84 #7C2884 #844E28
split-complementary
#308428 #4E2884 #84285E
monochromatic
#0E260C #1F551A #308428 #41B336 #64CD5A

Accessibility & contrast

On white

4.71
#308428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#308428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308428
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308428#FFFFFF#000000##FFFFFF
##3084281.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781B
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#228071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308428;
/* rgb */ color: rgb(48, 132, 40);
/* oklch */ color: oklch(54.3% 0.151 141.9);
Tailwind
colors: {
  custom: {
    50: '#73a967',
    500: '#308428',
    950: '#000000',
  },
}
SCSS
$custom: #308428;
$custom-light: #73a967;
$custom-dark: #000000;
JSON
{
  "hex": "#308428",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 114.783,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.15121,
    "h": 141.9
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#308428
secondary
#AA56B2
accent
#4BDDD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308428

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

Preview Lab → · Contrast checker → · Palette generator →

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