#308341#308341

#308341 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.128 H 147.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#308341
RGBrgb(48, 131, 65)
HSLhsl(132, 46%, 35%)
HSVhsv(132, 63%, 51%)
CMYKcmyk(63.4%, 0%, 50.4%, 48.6%)
CIE-LABlab(48.56, -40.00, 28.30)
CIE-LCHlch(48.56, 49.00, 144.72°)
OKLaboklab(54.31% -0.1081 0.0688)
OKLCHoklch(54.31% 0.128 147.5)
XYZxyz(10.2887, 17.2416, 7.7858)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308341 #833072
analogous
#498330 #308341 #30836A
triadic
#308341 #413083 #834130
tetradic
#308341 #304983 #833072 #836A30
square
#308341 #304983 #833072 #836A30
split-complementary
#308341 #6A3083 #833049
monochromatic
#0F2915 #20562B #308341 #40B057 #66C77A

Accessibility & contrast

On white

4.72
#308341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#308341 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308341
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308341#FFFFFF#000000##FFFFFF
##3083411.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783C
Deuteranopia (green-blind)
#7A7046
Tritanopia (blue-blind)
#1A8074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308341;
/* rgb */ color: rgb(48, 131, 65);
/* oklch */ color: oklch(54.3% 0.128 147.5);
Tailwind
colors: {
  custom: {
    50: '#72a877',
    500: '#308341',
    950: '#000000',
  },
}
SCSS
$custom: #308341;
$custom-light: #72a877;
$custom-dark: #000000;
JSON
{
  "hex": "#308341",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 132.289,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.12808,
    "h": 147.5
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#308341
secondary
#AE619E
accent
#52BBD6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #308341

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

Preview Lab → · Contrast checker → · Palette generator →

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