#308C1D#308C1D

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

Color values

HEX#308C1D
RGBrgb(48, 140, 29)
HSLhsl(110, 66%, 33%)
HSVhsv(110, 79%, 55%)
CMYKcmyk(65.7%, 0%, 79.3%, 45.1%)
CIE-LABlab(51.24, -47.49, 47.55)
CIE-LCHlch(51.24, 67.21, 134.97°)
OKLaboklab(56.4% -0.13 0.1063)
OKLCHoklch(56.4% 0.168 140.7)
XYZxyz(10.8182, 19.4722, 4.3506)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C1D #791D8C
analogous
#678C1D #308C1D #1D8C42
triadic
#308C1D #1D308C #8C1D30
tetradic
#308C1D #1D678C #791D8C #8C421D
square
#308C1D #1D678C #791D8C #8C421D
split-complementary
#308C1D #421D8C #8C1D67
monochromatic
#0D2708 #1F5912 #308C1D #41BF28 #62D94A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308C1D#FFFFFF#000000##000000
##308C1D1.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)
#907F01
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#208777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c1d;
/* rgb */ color: rgb(48, 140, 29);
/* oklch */ color: oklch(56.4% 0.168 140.7);
Tailwind
colors: {
  custom: {
    50: '#75ae62',
    500: '#308c1d',
    950: '#000000',
  },
}
SCSS
$custom: #308c1d;
$custom-light: #75ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#308c1d",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 109.73,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.16794,
    "h": 140.7
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#308C1D
secondary
#A849BC
accent
#3FE9CC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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