#308618#308618

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

Color values

HEX#308618
RGBrgb(48, 134, 24)
HSLhsl(107, 70%, 31%)
HSVhsv(107, 82%, 53%)
CMYKcmyk(64.2%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.18, -45.64, 47.22)
CIE-LCHlch(49.18, 65.67, 134.03°)
OKLaboklab(54.69% -0.1253 0.1049)
OKLCHoklch(54.69% 0.163 140.1)
XYZxyz(9.9084, 17.7436, 3.7667)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308618 #6E1886
analogous
#678618 #308618 #188637
triadic
#308618 #183086 #861830
tetradic
#308618 #186786 #6E1886 #863718
square
#308618 #186786 #6E1886 #863718
split-complementary
#308618 #371886 #861867
monochromatic
#0B1E05 #1D520F #308618 #43BA21 #5FDC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308618#FFFFFF#000000##FFFFFF
##3086181.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)
#7F7225
Tritanopia (blue-blind)
#238172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308618;
/* rgb */ color: rgb(48, 134, 24);
/* oklch */ color: oklch(54.7% 0.163 140.1);
Tailwind
colors: {
  custom: {
    50: '#74aa5f',
    500: '#308618',
    950: '#000000',
  },
}
SCSS
$custom: #308618;
$custom-light: #74aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#308618",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 106.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.16339,
    "h": 140.1
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#308618
secondary
#9F40BA
accent
#3BECC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308618

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

Preview Lab → · Contrast checker → · Palette generator →

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