#308517#308517

#308517 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.163 H 139.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308517
RGBrgb(48, 133, 23)
HSLhsl(106, 71%, 31%)
HSVhsv(106, 83%, 52%)
CMYKcmyk(63.9%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.84, -45.34, 47.21)
CIE-LCHlch(48.84, 65.45, 133.84°)
OKLaboklab(54.41% -0.1245 0.1047)
OKLCHoklch(54.41% 0.163 139.9)
XYZxyz(9.7607, 17.4644, 3.6670)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308517 #6C1785
analogous
#678517 #308517 #178535
triadic
#308517 #173085 #851730
tetradic
#308517 #176785 #6C1785 #853517
square
#308517 #176785 #6C1785 #853517
split-complementary
#308517 #351785 #851767
monochromatic
#0A1D05 #1D510E #308517 #43B920 #5FDD3A

Accessibility & contrast

On white

4.67
#308517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#308517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308517
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308517#FFFFFF#000000##FFFFFF
##3085171.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#248071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308517;
/* rgb */ color: rgb(48, 133, 23);
/* oklch */ color: oklch(54.4% 0.163 139.9);
Tailwind
colors: {
  custom: {
    50: '#74a95f',
    500: '#308517',
    950: '#000000',
  },
}
SCSS
$custom: #308517;
$custom-light: #74a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#308517",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 106.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.16269,
    "h": 139.9
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

primary
#308517
secondary
#9D3FB9
accent
#3BEDC5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308517

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

Preview Lab → · Contrast checker → · Palette generator →

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