#308318#308318

#308318 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.160 H 139.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308318
RGBrgb(48, 131, 24)
HSLhsl(107, 69%, 30%)
HSVhsv(107, 82%, 51%)
CMYKcmyk(63.4%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.17, -44.54, 46.26)
CIE-LCHlch(48.17, 64.22, 133.92°)
OKLaboklab(53.85% -0.1223 0.1029)
OKLCHoklch(53.85% 0.16 139.9)
XYZxyz(9.4997, 16.9260, 3.6304)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308318 #6B1883
analogous
#658318 #308318 #188335
triadic
#308318 #183083 #831830
tetradic
#308318 #186583 #6B1883 #833518
square
#308318 #186583 #6B1883 #833518
split-complementary
#308318 #351883 #831865
monochromatic
#0A1C05 #1D4F0F #308318 #43B721 #5EDB3A

Accessibility & contrast

On white

4.79
#308318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#308318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308318
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308318#FFFFFF#000000##FFFFFF
##3083181.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#247E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308318;
/* rgb */ color: rgb(48, 131, 24);
/* oklch */ color: oklch(53.8% 0.160 139.9);
Tailwind
colors: {
  custom: {
    50: '#74a85f',
    500: '#308318',
    950: '#000000',
  },
}
SCSS
$custom: #308318;
$custom-light: #74a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#308318",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 106.542,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.15983,
    "h": 139.9
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#308318
secondary
#9C40B7
accent
#3CECC4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308318

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

Preview Lab → · Contrast checker → · Palette generator →

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