#308D1E#308D1E

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

Color values

HEX#308D1E
RGBrgb(48, 141, 30)
HSLhsl(110, 65%, 34%)
HSVhsv(110, 79%, 55%)
CMYKcmyk(66%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.58, -47.78, 47.54)
CIE-LCHlch(51.58, 67.40, 135.15°)
OKLaboklab(56.68% -0.1307 0.1064)
OKLCHoklch(56.68% 0.169 140.9)
XYZxyz(10.9776, 19.7708, 4.4657)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D1E #7B1E8D
analogous
#678D1E #308D1E #1E8D43
triadic
#308D1E #1E308D #8D1E30
tetradic
#308D1E #1E678D #7B1E8D #8D431E
square
#308D1E #1E678D #7B1E8D #8D431E
split-complementary
#308D1E #431E8D #8D1E67
monochromatic
#0E2809 #1F5B13 #308D1E #41BF29 #63D94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308D1E#FFFFFF#000000##000000
##308D1E1.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)
#918002
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#208878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d1e;
/* rgb */ color: rgb(48, 141, 30);
/* oklch */ color: oklch(56.7% 0.169 140.9);
Tailwind
colors: {
  custom: {
    50: '#76af63',
    500: '#308d1e',
    950: '#000000',
  },
}
SCSS
$custom: #308d1e;
$custom-light: #76af63;
$custom-dark: #000000;
JSON
{
  "hex": "#308d1e",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 110.27,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.16858,
    "h": 140.9
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#308D1E
secondary
#A94BBC
accent
#40E8CD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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