#308D1D#308D1D

#308D1D is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.169 H 140.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#308D1D
RGBrgb(48, 141, 29)
HSLhsl(110, 66%, 33%)
HSVhsv(110, 79%, 55%)
CMYKcmyk(66%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.57, -47.85, 47.87)
CIE-LCHlch(51.57, 67.69, 134.99°)
OKLaboklab(56.68% -0.131 0.107)
OKLCHoklch(56.68% 0.169 140.8)
XYZxyz(10.9650, 19.7658, 4.3995)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D1D #7A1D8D
analogous
#688D1D #308D1D #1D8D42
triadic
#308D1D #1D308D #8D1D30
tetradic
#308D1D #1D688D #7A1D8D #8D421D
square
#308D1D #1D688D #7A1D8D #8D421D
split-complementary
#308D1D #421D8D #8D1D68
monochromatic
#0D2708 #1F5A13 #308D1D #41C027 #63DA4B

Accessibility & contrast

On white

4.24
#308D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#308D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D1D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D1D#FFFFFF#000000##000000
##308D1D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#208878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d1d;
/* rgb */ color: rgb(48, 141, 29);
/* oklch */ color: oklch(56.7% 0.169 140.8);
Tailwind
colors: {
  custom: {
    50: '#76af62',
    500: '#308d1d',
    950: '#000000',
  },
}
SCSS
$custom: #308d1d;
$custom-light: #76af62;
$custom-dark: #000000;
JSON
{
  "hex": "#308d1d",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 109.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.1691,
    "h": 140.8
  },
  "luminance": 0.19767
}

Semantic roles & 50–950 ramp

primary
#308D1D
secondary
#A94ABC
accent
#3FE9CC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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