#308310#308310

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

Color values

HEX#308310
RGBrgb(48, 131, 16)
HSLhsl(103, 78%, 29%)
HSVhsv(103, 88%, 51%)
CMYKcmyk(63.4%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.13, -44.97, 48.50)
CIE-LCHlch(48.13, 66.14, 132.84°)
OKLaboklab(53.81% -0.1239 0.1064)
OKLCHoklch(53.81% 0.163 139.3)
XYZxyz(9.4283, 16.8975, 3.2548)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308310 #631083
analogous
#6A8310 #308310 #10832A
triadic
#308310 #103083 #831030
tetradic
#308310 #106A83 #631083 #832A10
square
#308310 #106A83 #631083 #832A10
split-complementary
#308310 #2A1083 #83106A
monochromatic
#0A1B03 #1C4C09 #308310 #44BA17 #5DE529

Accessibility & contrast

On white

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

On black

4.38
#308310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##308310#FFFFFF#000000##FFFFFF
##3083101.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308310;
/* rgb */ color: rgb(48, 131, 16);
/* oklch */ color: oklch(53.8% 0.163 139.3);
Tailwind
colors: {
  custom: {
    50: '#74a85c',
    500: '#308310',
    950: '#000000',
  },
}
SCSS
$custom: #308310;
$custom-light: #74a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#308310",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 103.304,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.16329,
    "h": 139.3
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#308310
secondary
#9436B9
accent
#33F5BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091004
muted
#7B7F79

Preview Lab

Preview with #308310

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

Preview Lab → · Contrast checker → · Palette generator →

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