#308F28#308F28

#308F28 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.165 H 142.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#308F28
RGBrgb(48, 143, 40)
HSLhsl(115, 56%, 36%)
HSVhsv(115, 72%, 56%)
CMYKcmyk(66.4%, 0%, 72%, 43.9%)
CIE-LABlab(52.31, -47.71, 44.54)
CIE-LCHlch(52.31, 65.27, 136.97°)
OKLaboklab(57.32% -0.13 0.1016)
OKLCHoklch(57.32% 0.165 142)
XYZxyz(11.4238, 20.4254, 5.3475)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F28 #87288F
analogous
#638F28 #308F28 #288F53
triadic
#308F28 #28308F #8F2830
tetradic
#308F28 #28638F #87288F #8F5328
square
#308F28 #28638F #87288F #8F5328
split-complementary
#308F28 #53288F #8F2863
monochromatic
#102F0D #205F1B #308F28 #40BF35 #68D25F

Accessibility & contrast

On white

4.13
#308F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#308F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F28
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F28#FFFFFF#000000##000000
##308F281.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928218
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#1D8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f28;
/* rgb */ color: rgb(48, 143, 40);
/* oklch */ color: oklch(57.3% 0.165 142.0);
Tailwind
colors: {
  custom: {
    50: '#75b168',
    500: '#308f28',
    950: '#000000',
  },
}
SCSS
$custom: #308f28;
$custom-light: #75b168;
$custom-dark: #000000;
JSON
{
  "hex": "#308f28",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 115.34,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.16495,
    "h": 142
  },
  "luminance": 0.20427
}

Semantic roles & 50–950 ramp

primary
#308F28
secondary
#B15BB8
accent
#48E0D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308F28

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

Preview Lab → · Contrast checker → · Palette generator →

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