#308541#308541

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

Color values

HEX#308541
RGBrgb(48, 133, 65)
HSLhsl(132, 47%, 35%)
HSVhsv(132, 64%, 52%)
CMYKcmyk(63.9%, 0%, 51.1%, 47.8%)
CIE-LABlab(49.23, -40.81, 29.14)
CIE-LCHlch(49.23, 50.14, 144.47°)
OKLaboklab(54.86% -0.1102 0.0706)
OKLCHoklch(54.86% 0.131 147.4)
XYZxyz(10.5599, 17.7841, 7.8762)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308541 #853074
analogous
#498530 #308541 #30856B
triadic
#308541 #413085 #854130
tetradic
#308541 #304985 #853074 #856B30
square
#308541 #304985 #853074 #856B30
split-complementary
#308541 #6B3085 #853049
monochromatic
#102B15 #20582B #308541 #40B257 #67C87B

Accessibility & contrast

On white

4.61
#308541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #308541
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308541#FFFFFF#000000##FFFFFF
##3085411.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3B
Deuteranopia (green-blind)
#7C7246
Tritanopia (blue-blind)
#198275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308541;
/* rgb */ color: rgb(48, 133, 65);
/* oklch */ color: oklch(54.9% 0.131 147.4);
Tailwind
colors: {
  custom: {
    50: '#72a977',
    500: '#308541',
    950: '#000000',
  },
}
SCSS
$custom: #308541;
$custom-light: #72a977;
$custom-dark: #000000;
JSON
{
  "hex": "#308541",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 132,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.13093,
    "h": 147.4
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#308541
secondary
#AF61A0
accent
#51BCD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308541

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

Preview Lab → · Contrast checker → · Palette generator →

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