#308918#308918

#308918 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.167 H 140.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#308918
RGBrgb(48, 137, 24)
HSLhsl(107, 70%, 32%)
HSVhsv(107, 82%, 54%)
CMYKcmyk(65%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.20, -46.73, 48.17)
CIE-LCHlch(50.20, 67.11, 134.13°)
OKLaboklab(55.53% -0.1282 0.1069)
OKLCHoklch(55.53% 0.167 140.2)
XYZxyz(10.3290, 18.5846, 3.9068)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308918 #711889
analogous
#698918 #308918 #188939
triadic
#308918 #183089 #891830
tetradic
#308918 #186989 #711889 #893918
square
#308918 #186989 #711889 #893918
split-complementary
#308918 #391889 #891869
monochromatic
#0C2106 #1E550F #308918 #42BD21 #60DD3E

Accessibility & contrast

On white

4.45
#308918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#308918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308918
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308918#FFFFFF#000000##000000
##3089181.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#228474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308918;
/* rgb */ color: rgb(48, 137, 24);
/* oklch */ color: oklch(55.5% 0.167 140.2);
Tailwind
colors: {
  custom: {
    50: '#75ac60',
    500: '#308918',
    950: '#000000',
  },
}
SCSS
$custom: #308918;
$custom-light: #75ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#308918",
  "rgb": {
    "r": 48,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 107.257,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.16691,
    "h": 140.2
  },
  "luminance": 0.18586
}

Semantic roles & 50–950 ramp

primary
#308918
secondary
#A240BD
accent
#3BEDC7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308918

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

Preview Lab → · Contrast checker → · Palette generator →

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