#308F1D#308F1D

#308F1D is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.171 H 140.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#308F1D
RGBrgb(48, 143, 29)
HSLhsl(110, 66%, 34%)
HSVhsv(110, 80%, 56%)
CMYKcmyk(66.4%, 0%, 79.7%, 43.9%)
CIE-LABlab(52.24, -48.56, 48.52)
CIE-LCHlch(52.24, 68.65, 135.03°)
OKLaboklab(57.23% -0.1329 0.1083)
OKLCHoklch(57.23% 0.171 140.8)
XYZxyz(11.2626, 20.3609, 4.4987)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F1D #7C1D8F
analogous
#698F1D #308F1D #1D8F43
triadic
#308F1D #1D308F #8F1D30
tetradic
#308F1D #1D698F #7C1D8F #8F431D
square
#308F1D #1D698F #7C1D8F #8F431D
split-complementary
#308F1D #431D8F #8F1D69
monochromatic
#0E2908 #1F5C13 #308F1D #41C227 #64DB4C

Accessibility & contrast

On white

4.14
#308F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#308F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F1D#FFFFFF#000000##000000
##308F1D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#1F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f1d;
/* rgb */ color: rgb(48, 143, 29);
/* oklch */ color: oklch(57.2% 0.171 140.8);
Tailwind
colors: {
  custom: {
    50: '#76b163',
    500: '#308f1d',
    950: '#000000',
  },
}
SCSS
$custom: #308f1d;
$custom-light: #76b163;
$custom-dark: #000000;
JSON
{
  "hex": "#308f1d",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 110,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.17145,
    "h": 140.8
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#308F1D
secondary
#AA4BBD
accent
#3FE9CD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #308F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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