#308617#308617

#308617 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.164 H 140.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#308617
RGBrgb(48, 134, 23)
HSLhsl(106, 71%, 31%)
HSVhsv(106, 83%, 53%)
CMYKcmyk(64.2%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.18, -45.70, 47.52)
CIE-LCHlch(49.18, 65.93, 133.88°)
OKLaboklab(54.69% -0.1255 0.1054)
OKLCHoklch(54.69% 0.164 140)
XYZxyz(9.8982, 17.7395, 3.7129)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308617 #6D1786
analogous
#678617 #308617 #178635
triadic
#308617 #173086 #861730
tetradic
#308617 #176786 #6D1786 #863517
square
#308617 #176786 #6D1786 #863517
split-complementary
#308617 #351786 #861767
monochromatic
#0B1E05 #1D520E #308617 #43BA20 #5FDD3A

Accessibility & contrast

On white

4.62
#308617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#308617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308617
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308617#FFFFFF#000000##FFFFFF
##3086171.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#248172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308617;
/* rgb */ color: rgb(48, 134, 23);
/* oklch */ color: oklch(54.7% 0.164 140.0);
Tailwind
colors: {
  custom: {
    50: '#74aa5f',
    500: '#308617',
    950: '#000000',
  },
}
SCSS
$custom: #308617;
$custom-light: #74aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#308617",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 106.486,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.16386,
    "h": 140
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#308617
secondary
#9E3FBA
accent
#3AEDC5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308617

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

Preview Lab → · Contrast checker → · Palette generator →

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