#308218#308218

#308218 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.159 H 139.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#308218
RGBrgb(48, 130, 24)
HSLhsl(106, 69%, 30%)
HSVhsv(106, 82%, 51%)
CMYKcmyk(63.1%, 0%, 81.5%, 49%)
CIE-LABlab(47.83, -44.17, 45.94)
CIE-LCHlch(47.83, 63.73, 133.88°)
OKLaboklab(53.57% -0.1213 0.1022)
OKLCHoklch(53.57% 0.159 139.9)
XYZxyz(9.3660, 16.6587, 3.5859)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308218 #6A1882
analogous
#658218 #308218 #188235
triadic
#308218 #183082 #821830
tetradic
#308218 #186582 #6A1882 #823518
square
#308218 #186582 #6A1882 #823518
split-complementary
#308218 #351882 #821865
monochromatic
#0A1B05 #1D4E0E #308218 #43B622 #5EDB3A

Accessibility & contrast

On white

4.85
#308218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#308218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308218
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308218#FFFFFF#000000##FFFFFF
##3082181.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#257D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308218;
/* rgb */ color: rgb(48, 130, 24);
/* oklch */ color: oklch(53.6% 0.159 139.9);
Tailwind
colors: {
  custom: {
    50: '#74a75e',
    500: '#308218',
    950: '#000000',
  },
}
SCSS
$custom: #308218;
$custom-light: #74a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#308218",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 106.415,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53569,
    "c": 0.15864,
    "h": 139.9
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#308218
secondary
#9B40B6
accent
#3CECC4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308218

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

Preview Lab → · Contrast checker → · Palette generator →

#308218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva