#308319#308319

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

Color values

HEX#308319
RGBrgb(48, 131, 25)
HSLhsl(107, 68%, 31%)
HSVhsv(107, 81%, 51%)
CMYKcmyk(63.4%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.17, -44.48, 45.94)
CIE-LCHlch(48.17, 63.95, 134.07°)
OKLaboklab(53.86% -0.1221 0.1023)
OKLCHoklch(53.86% 0.159 140)
XYZxyz(9.5103, 16.9303, 3.6862)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308319 #6C1983
analogous
#658319 #308319 #198337
triadic
#308319 #193083 #831930
tetradic
#308319 #196583 #6C1983 #833719
square
#308319 #196583 #6C1983 #833719
split-complementary
#308319 #371983 #831965
monochromatic
#0A1C05 #1D500F #308319 #43B623 #5FDA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308319#FFFFFF#000000##FFFFFF
##3083191.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: #308319;
/* rgb */ color: rgb(48, 131, 25);
/* oklch */ color: oklch(53.9% 0.159 140.0);
Tailwind
colors: {
  custom: {
    50: '#74a85f',
    500: '#308319',
    950: '#000000',
  },
}
SCSS
$custom: #308319;
$custom-light: #74a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#308319",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 106.981,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.15932,
    "h": 140
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#308319
secondary
#9D41B7
accent
#3DEBC5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308319

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

Preview Lab → · Contrast checker → · Palette generator →

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