#308015#308015

#308015 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.158 H 139.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308015
RGBrgb(48, 128, 21)
HSLhsl(105, 72%, 29%)
HSVhsv(105, 84%, 50%)
CMYKcmyk(62.5%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.13, -43.61, 46.22)
CIE-LCHlch(47.13, 63.55, 133.33°)
OKLaboklab(52.99% -0.12 0.1023)
OKLCHoklch(52.99% 0.158 139.5)
XYZxyz(9.0731, 16.1200, 3.3427)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308015 #651580
analogous
#668015 #308015 #158030
triadic
#308015 #153080 #801530
tetradic
#308015 #156680 #651580 #803015
square
#308015 #156680 #651580 #803015
split-complementary
#308015 #301580 #801566
monochromatic
#0A1A04 #1C4B0C #308015 #44B51E #5DDD32

Accessibility & contrast

On white

4.97
#308015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#308015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308015
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308015#FFFFFF#000000##FFFFFF
##3080151.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#267B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #308015;
/* rgb */ color: rgb(48, 128, 21);
/* oklch */ color: oklch(53.0% 0.158 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#308015',
    950: '#000000',
  },
}
SCSS
$custom: #308015;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#308015",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 104.86,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.1577,
    "h": 139.5
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#308015
secondary
#963CB5
accent
#39EFC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308015

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

Preview Lab → · Contrast checker → · Palette generator →

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