#308C1C#308C1C

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

Color values

HEX#308C1C
RGBrgb(48, 140, 28)
HSLhsl(109, 67%, 33%)
HSVhsv(109, 80%, 55%)
CMYKcmyk(65.7%, 0%, 80%, 45.1%)
CIE-LABlab(51.23, -47.56, 47.88)
CIE-LCHlch(51.23, 67.48, 134.81°)
OKLaboklab(56.39% -0.1302 0.1068)
OKLCHoklch(56.39% 0.168 140.6)
XYZxyz(10.8061, 19.4673, 4.2865)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C1C #781C8C
analogous
#688C1C #308C1C #1C8C40
triadic
#308C1C #1C308C #8C1C30
tetradic
#308C1C #1C688C #781C8C #8C401C
square
#308C1C #1C688C #781C8C #8C401C
split-complementary
#308C1C #401C8C #8C1C68
monochromatic
#0D2608 #1F5912 #308C1C #41BF26 #62DA48

Accessibility & contrast

On white

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

On black

4.89
#308C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C1C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C1C#FFFFFF#000000##000000
##308C1C1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#218777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c1c;
/* rgb */ color: rgb(48, 140, 28);
/* oklch */ color: oklch(56.4% 0.168 140.6);
Tailwind
colors: {
  custom: {
    50: '#75ae62',
    500: '#308c1c',
    950: '#000000',
  },
}
SCSS
$custom: #308c1c;
$custom-light: #75ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#308c1c",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 109.286,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.16846,
    "h": 140.6
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#308C1C
secondary
#A748BC
accent
#3EEACB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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