#308518#308518

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

Color values

HEX#308518
RGBrgb(48, 133, 24)
HSLhsl(107, 69%, 31%)
HSVhsv(107, 82%, 52%)
CMYKcmyk(63.9%, 0%, 82%, 47.8%)
CIE-LABlab(48.84, -45.28, 46.90)
CIE-LCHlch(48.84, 65.19, 133.99°)
OKLaboklab(54.41% -0.1243 0.1042)
OKLCHoklch(54.41% 0.162 140)
XYZxyz(9.7709, 17.4685, 3.7208)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308518 #6D1885
analogous
#668518 #308518 #188536
triadic
#308518 #183085 #851830
tetradic
#308518 #186685 #6D1885 #853618
square
#308518 #186685 #6D1885 #853618
split-complementary
#308518 #361885 #851866
monochromatic
#0B1D05 #1D510F #308518 #43B921 #5FDC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308518#FFFFFF#000000##FFFFFF
##3085181.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)
#7F7125
Tritanopia (blue-blind)
#248071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308518;
/* rgb */ color: rgb(48, 133, 24);
/* oklch */ color: oklch(54.4% 0.162 140.0);
Tailwind
colors: {
  custom: {
    50: '#74a95f',
    500: '#308518',
    950: '#000000',
  },
}
SCSS
$custom: #308518;
$custom-light: #74a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#308518",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 106.789,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.16221,
    "h": 140
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#308518
secondary
#9E40B9
accent
#3CECC5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308518

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

Preview Lab → · Contrast checker → · Palette generator →

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