#308545#308545

#308545 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.127 H 148.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#308545
RGBrgb(48, 133, 69)
HSLhsl(135, 47%, 35%)
HSVhsv(135, 64%, 52%)
CMYKcmyk(63.9%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.29, -40.16, 27.07)
CIE-LCHlch(49.29, 48.43, 146.02°)
OKLaboklab(54.92% -0.1084 0.0661)
OKLCHoklch(54.92% 0.127 148.6)
XYZxyz(10.6799, 17.8321, 8.5082)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308545 #853070
analogous
#458530 #308545 #30856F
triadic
#308545 #453085 #854530
tetradic
#308545 #304585 #853070 #856F30
square
#308545 #304585 #853070 #856F30
split-complementary
#308545 #6F3085 #853045
monochromatic
#102B16 #20582E #308545 #40B25C #67C87F

Accessibility & contrast

On white

4.60
#308545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#308545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308545
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308545#FFFFFF#000000##FFFFFF
##3085451.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A40
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#178276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308545;
/* rgb */ color: rgb(48, 133, 69);
/* oklch */ color: oklch(54.9% 0.127 148.6);
Tailwind
colors: {
  custom: {
    50: '#72a97a',
    500: '#308545',
    950: '#000000',
  },
}
SCSS
$custom: #308545;
$custom-light: #72a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#308545",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 134.824,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.12702,
    "h": 148.6
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#308545
secondary
#AF619C
accent
#51B6D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #308545

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

Preview Lab → · Contrast checker → · Palette generator →

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