#308115#308115

#308115 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.159 H 139.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308115
RGBrgb(48, 129, 21)
HSLhsl(105, 72%, 29%)
HSVhsv(105, 84%, 51%)
CMYKcmyk(62.8%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.47, -43.98, 46.54)
CIE-LCHlch(47.47, 64.03, 133.38°)
OKLaboklab(53.27% -0.121 0.103)
OKLCHoklch(53.27% 0.159 139.6)
XYZxyz(9.2041, 16.3822, 3.3864)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308115 #661581
analogous
#668115 #308115 #158130
triadic
#308115 #153081 #811530
tetradic
#308115 #156681 #661581 #813015
square
#308115 #156681 #661581 #813015
split-complementary
#308115 #301581 #811566
monochromatic
#0A1A04 #1C4C0C #308115 #44B61E #5DDE33

Accessibility & contrast

On white

4.91
#308115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#308115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308115
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308115#FFFFFF#000000##FFFFFF
##3081151.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#257C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308115;
/* rgb */ color: rgb(48, 129, 21);
/* oklch */ color: oklch(53.3% 0.159 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#308115',
    950: '#000000',
  },
}
SCSS
$custom: #308115;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#308115",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 105,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.15889,
    "h": 139.6
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#308115
secondary
#973CB6
accent
#39EFC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308115

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

Preview Lab → · Contrast checker → · Palette generator →

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