#308440#308440

#308440 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.130 H 147.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308440
RGBrgb(48, 132, 64)
HSLhsl(131, 47%, 35%)
HSVhsv(131, 64%, 52%)
CMYKcmyk(63.6%, 0%, 51.5%, 48.2%)
CIE-LABlab(48.88, -40.56, 29.24)
CIE-LCHlch(48.88, 50.00, 144.22°)
OKLaboklab(54.57% -0.1096 0.0708)
OKLCHoklch(54.57% 0.13 147.1)
XYZxyz(10.3949, 17.5001, 7.6795)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308440 #843074
analogous
#4A8430 #308440 #30846A
triadic
#308440 #403084 #844030
tetradic
#308440 #304A84 #843074 #846A30
square
#308440 #304A84 #843074 #846A30
split-complementary
#308440 #6A3084 #84304A
monochromatic
#0F2A14 #20572A #308440 #40B156 #67C879

Accessibility & contrast

On white

4.67
#308440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#308440 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308440
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308440#FFFFFF#000000##FFFFFF
##3084401.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#1A8174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308440;
/* rgb */ color: rgb(48, 132, 64);
/* oklch */ color: oklch(54.6% 0.130 147.1);
Tailwind
colors: {
  custom: {
    50: '#72a876',
    500: '#308440',
    950: '#000000',
  },
}
SCSS
$custom: #308440;
$custom-light: #72a876;
$custom-dark: #000000;
JSON
{
  "hex": "#308440",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 131.429,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.13049,
    "h": 147.1
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#308440
secondary
#AF61A0
accent
#51BDD6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #308440

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

Preview Lab → · Contrast checker → · Palette generator →

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