#308C1E#308C1E

#308C1E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.167 H 140.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308C1E
RGBrgb(48, 140, 30)
HSLhsl(110, 65%, 33%)
HSVhsv(110, 79%, 55%)
CMYKcmyk(65.7%, 0%, 78.6%, 45.1%)
CIE-LABlab(51.24, -47.43, 47.21)
CIE-LCHlch(51.24, 66.92, 135.13°)
OKLaboklab(56.41% -0.1298 0.1057)
OKLCHoklch(56.41% 0.167 140.8)
XYZxyz(10.8308, 19.4772, 4.4167)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C1E #7A1E8C
analogous
#678C1E #308C1E #1E8C43
triadic
#308C1E #1E308C #8C1E30
tetradic
#308C1E #1E678C #7A1E8C #8C431E
square
#308C1E #1E678C #7A1E8C #8C431E
split-complementary
#308C1E #431E8C #8C1E67
monochromatic
#0D2708 #1F5A13 #308C1E #41BE29 #63D94C

Accessibility & contrast

On white

4.29
#308C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C1E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C1E#FFFFFF#000000##000000
##308C1E1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#208777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c1e;
/* rgb */ color: rgb(48, 140, 30);
/* oklch */ color: oklch(56.4% 0.167 140.8);
Tailwind
colors: {
  custom: {
    50: '#75ae63',
    500: '#308c1e',
    950: '#000000',
  },
}
SCSS
$custom: #308c1e;
$custom-light: #75ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#308c1e",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 110.182,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.1674,
    "h": 140.8
  },
  "luminance": 0.19478
}

Semantic roles & 50–950 ramp

primary
#308C1E
secondary
#A94BBB
accent
#40E8CC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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