#308D1C#308D1C

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

Color values

HEX#308D1C
RGBrgb(48, 141, 28)
HSLhsl(109, 67%, 33%)
HSVhsv(109, 80%, 55%)
CMYKcmyk(66%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.57, -47.92, 48.20)
CIE-LCHlch(51.57, 67.96, 134.83°)
OKLaboklab(56.67% -0.1312 0.1075)
OKLCHoklch(56.67% 0.17 140.7)
XYZxyz(10.9529, 19.7609, 4.3354)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D1C #791C8D
analogous
#688D1C #308D1C #1C8D41
triadic
#308D1C #1C308D #8D1C30
tetradic
#308D1C #1C688D #791C8D #8D411C
square
#308D1C #1C688D #791C8D #8D411C
split-complementary
#308D1C #411C8D #8D1C68
monochromatic
#0D2708 #1F5A12 #308D1C #41C026 #62DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308D1C#FFFFFF#000000##000000
##308D1C1.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)
#867829
Tritanopia (blue-blind)
#208878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d1c;
/* rgb */ color: rgb(48, 141, 28);
/* oklch */ color: oklch(56.7% 0.170 140.7);
Tailwind
colors: {
  custom: {
    50: '#76af62',
    500: '#308d1c',
    950: '#000000',
  },
}
SCSS
$custom: #308d1c;
$custom-light: #76af62;
$custom-dark: #000000;
JSON
{
  "hex": "#308d1c",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 109.381,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.16962,
    "h": 140.7
  },
  "luminance": 0.19762
}

Semantic roles & 50–950 ramp

primary
#308D1C
secondary
#A848BD
accent
#3EEACB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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