#308145#308145

#308145 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.121 H 149.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#308145
RGBrgb(48, 129, 69)
HSLhsl(136, 46%, 35%)
HSVhsv(136, 63%, 51%)
CMYKcmyk(62.8%, 0%, 46.5%, 49.4%)
CIE-LABlab(47.95, -38.50, 25.36)
CIE-LCHlch(47.95, 46.10, 146.62°)
OKLaboklab(53.82% -0.104 0.0622)
OKLCHoklch(53.82% 0.121 149.1)
XYZxyz(10.1426, 16.7576, 8.3291)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308145 #81306C
analogous
#438130 #308145 #30816E
triadic
#308145 #453081 #814530
tetradic
#308145 #304381 #81306C #816E30
square
#308145 #304381 #81306C #816E30
split-complementary
#308145 #6E3081 #813043
monochromatic
#0F2815 #1F542D #308145 #41AE5D #66C67E

Accessibility & contrast

On white

4.83
#308145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#308145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308145
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308145#FFFFFF#000000##FFFFFF
##3081451.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827640
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#197F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308145;
/* rgb */ color: rgb(48, 129, 69);
/* oklch */ color: oklch(53.8% 0.121 149.1);
Tailwind
colors: {
  custom: {
    50: '#71a679',
    500: '#308145',
    950: '#000000',
  },
}
SCSS
$custom: #308145;
$custom-light: #71a679;
$custom-dark: #000000;
JSON
{
  "hex": "#308145",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 135.556,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.12123,
    "h": 149.1
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#308145
secondary
#AD6099
accent
#52B3D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #308145

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

Preview Lab → · Contrast checker → · Palette generator →

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