#308A1D#308A1D

#308A1D is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.166 H 140.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308A1D
RGBrgb(48, 138, 29)
HSLhsl(110, 65%, 33%)
HSVhsv(110, 79%, 54%)
CMYKcmyk(65.2%, 0%, 79%, 45.9%)
CIE-LABlab(50.56, -46.77, 46.90)
CIE-LCHlch(50.56, 66.23, 134.92°)
OKLaboklab(55.84% -0.1281 0.1049)
OKLCHoklch(55.84% 0.166 140.7)
XYZxyz(10.5287, 18.8930, 4.2540)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A1D #771D8A
analogous
#678A1D #308A1D #1D8A40
triadic
#308A1D #1D308A #8A1D30
tetradic
#308A1D #1D678A #771D8A #8A401D
square
#308A1D #1D678A #771D8A #8A401D
split-complementary
#308A1D #401D8A #8A1D67
monochromatic
#0D2508 #1E5712 #308A1D #42BD28 #62D949

Accessibility & contrast

On white

4.39
#308A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A1D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A1D#FFFFFF#000000##000000
##308A1D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#218576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a1d;
/* rgb */ color: rgb(48, 138, 29);
/* oklch */ color: oklch(55.8% 0.166 140.7);
Tailwind
colors: {
  custom: {
    50: '#75ad62',
    500: '#308a1d',
    950: '#000000',
  },
}
SCSS
$custom: #308a1d;
$custom-light: #75ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#308a1d",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 109.541,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.16557,
    "h": 140.7
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#308A1D
secondary
#A748BB
accent
#40E8CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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