#308544#308544

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

Color values

HEX#308544
RGBrgb(48, 133, 68)
HSLhsl(134, 47%, 35%)
HSVhsv(134, 64%, 52%)
CMYKcmyk(63.9%, 0%, 48.9%, 47.8%)
CIE-LABlab(49.28, -40.32, 27.59)
CIE-LCHlch(49.28, 48.86, 145.62°)
OKLaboklab(54.91% -0.1089 0.0673)
OKLCHoklch(54.91% 0.128 148.3)
XYZxyz(10.6491, 17.8197, 8.3461)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308544 #853071
analogous
#468530 #308544 #30856E
triadic
#308544 #443085 #854430
tetradic
#308544 #304685 #853071 #856E30
square
#308544 #304685 #853071 #856E30
split-complementary
#308544 #6E3085 #853046
monochromatic
#102B16 #20582D #308544 #40B25B #67C87E

Accessibility & contrast

On white

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

On black

4.56
#308544 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##308544#FFFFFF#000000##FFFFFF
##3085441.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308544;
/* rgb */ color: rgb(48, 133, 68);
/* oklch */ color: oklch(54.9% 0.128 148.3);
Tailwind
colors: {
  custom: {
    50: '#72a979',
    500: '#308544',
    950: '#000000',
  },
}
SCSS
$custom: #308544;
$custom-light: #72a979;
$custom-dark: #000000;
JSON
{
  "hex": "#308544",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 68
  },
  "hsl": {
    "h": 134.118,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.12801,
    "h": 148.3
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#308544
secondary
#AF619D
accent
#51B7D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308544

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

Preview Lab → · Contrast checker → · Palette generator →

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