#308519#308519

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

Color values

HEX#308519
RGBrgb(48, 133, 25)
HSLhsl(107, 68%, 31%)
HSVhsv(107, 81%, 52%)
CMYKcmyk(63.9%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.85, -45.22, 46.59)
CIE-LCHlch(48.85, 64.92, 134.14°)
OKLaboklab(54.42% -0.1241 0.1037)
OKLCHoklch(54.42% 0.162 140.1)
XYZxyz(9.7815, 17.4727, 3.7766)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308519 #6E1985
analogous
#668519 #308519 #198538
triadic
#308519 #193085 #851930
tetradic
#308519 #196685 #6E1985 #853819
square
#308519 #196685 #6E1985 #853819
split-complementary
#308519 #381985 #851966
monochromatic
#0B1E06 #1D510F #308519 #43B923 #5FDB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #308519;
/* rgb */ color: rgb(48, 133, 25);
/* oklch */ color: oklch(54.4% 0.162 140.1);
Tailwind
colors: {
  custom: {
    50: '#74a95f',
    500: '#308519',
    950: '#000000',
  },
}
SCSS
$custom: #308519;
$custom-light: #74a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#308519",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 107.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.16171,
    "h": 140.1
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

primary
#308519
secondary
#9F41B9
accent
#3DEBC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308519

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

Preview Lab → · Contrast checker → · Palette generator →

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