#308728#308728

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

Color values

HEX#308728
RGBrgb(48, 135, 40)
HSLhsl(115, 54%, 34%)
HSVhsv(115, 70%, 53%)
CMYKcmyk(64.4%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.63, -44.76, 41.72)
CIE-LCHlch(49.63, 61.19, 137.02°)
OKLaboklab(55.09% -0.122 0.0956)
OKLCHoklch(55.09% 0.155 141.9)
XYZxyz(10.2654, 18.1085, 4.9614)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308728 #7F2887
analogous
#608728 #308728 #288750
triadic
#308728 #283087 #872830
tetradic
#308728 #286087 #7F2887 #875028
square
#308728 #286087 #7F2887 #875028
split-complementary
#308728 #502887 #872860
monochromatic
#0E290C #1F581A #308728 #41B636 #65CE5B

Accessibility & contrast

On white

4.54
#308728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308728#FFFFFF#000000##000000
##3087281.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#208374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #308728;
/* rgb */ color: rgb(48, 135, 40);
/* oklch */ color: oklch(55.1% 0.155 141.9);
Tailwind
colors: {
  custom: {
    50: '#74ab67',
    500: '#308728',
    950: '#000000',
  },
}
SCSS
$custom: #308728;
$custom-light: #74ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#308728",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 114.947,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55093,
    "c": 0.15502,
    "h": 141.9
  },
  "luminance": 0.1811
}

Semantic roles & 50–950 ramp

primary
#308728
secondary
#AC57B4
accent
#4ADED1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308728

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

Preview Lab → · Contrast checker → · Palette generator →

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