#308C38#308C38

#308C38 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.149 H 144.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#308C38
RGBrgb(48, 140, 56)
HSLhsl(125, 49%, 37%)
HSVhsv(125, 66%, 55%)
CMYKcmyk(65.7%, 0%, 60%, 45.1%)
CIE-LABlab(51.46, -44.85, 36.42)
CIE-LCHlch(51.46, 57.77, 140.92°)
OKLaboklab(56.66% -0.1214 0.086)
OKLCHoklch(56.66% 0.149 144.7)
XYZxyz(11.3101, 19.6689, 6.9411)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C38 #8C3084
analogous
#568C30 #308C38 #308C66
triadic
#308C38 #38308C #8C3830
tetradic
#308C38 #30568C #8C3084 #8C6630
square
#308C38 #30568C #8C3084 #8C6630
split-complementary
#308C38 #66308C #8C3056
monochromatic
#113114 #205E26 #308C38 #40BA4A #6ACC73

Accessibility & contrast

On white

4.26
#308C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#308C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C38
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C38#FFFFFF#000000##000000
##308C381.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2F
Deuteranopia (green-blind)
#83783F
Tritanopia (blue-blind)
#19887A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c38;
/* rgb */ color: rgb(48, 140, 56);
/* oklch */ color: oklch(56.7% 0.149 144.7);
Tailwind
colors: {
  custom: {
    50: '#74ae71',
    500: '#308c38',
    950: '#000000',
  },
}
SCSS
$custom: #308c38;
$custom-light: #74ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#308c38",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 125.217,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.14882,
    "h": 144.7
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#308C38
secondary
#B364AC
accent
#4FCDD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308C38

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

Preview Lab → · Contrast checker → · Palette generator →

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