#308A28#308A28

#308A28 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.159 H 142.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308A28
RGBrgb(48, 138, 40)
HSLhsl(115, 55%, 35%)
HSVhsv(115, 71%, 54%)
CMYKcmyk(65.2%, 0%, 71%, 45.9%)
CIE-LABlab(50.64, -45.88, 42.78)
CIE-LCHlch(50.64, 62.73, 137.00°)
OKLaboklab(55.93% -0.125 0.0979)
OKLCHoklch(55.93% 0.159 142)
XYZxyz(10.6898, 18.9575, 5.1029)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A28 #82288A
analogous
#618A28 #308A28 #288A51
triadic
#308A28 #28308A #8A2830
tetradic
#308A28 #28618A #82288A #8A5128
square
#308A28 #28618A #82288A #8A5128
split-complementary
#308A28 #51288A #8A2861
monochromatic
#0F2B0C #1F5B1A #308A28 #41B936 #66D05D

Accessibility & contrast

On white

4.38
#308A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#308A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A28
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A28#FFFFFF#000000##000000
##308A281.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D19
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#1F8676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a28;
/* rgb */ color: rgb(48, 138, 40);
/* oklch */ color: oklch(55.9% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#74ad68',
    500: '#308a28',
    950: '#000000',
  },
}
SCSS
$custom: #308a28;
$custom-light: #74ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#308a28",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 115.102,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.15878,
    "h": 142
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#308A28
secondary
#AE59B5
accent
#49DED2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A28

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

Preview Lab → · Contrast checker → · Palette generator →

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