#308A42#308A42

#308A42 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.137 H 147.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308A42
RGBrgb(48, 138, 66)
HSLhsl(132, 48%, 36%)
HSVhsv(132, 65%, 54%)
CMYKcmyk(65.2%, 0%, 52.2%, 45.9%)
CIE-LABlab(50.92, -42.65, 30.70)
CIE-LCHlch(50.92, 52.55, 144.26°)
OKLaboklab(56.25% -0.1152 0.0742)
OKLCHoklch(56.25% 0.137 147.2)
XYZxyz(11.2900, 19.1975, 8.2637)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A42 #8A3078
analogous
#4B8A30 #308A42 #308A6F
triadic
#308A42 #42308A #8A4230
tetradic
#308A42 #304B8A #8A3078 #8A6F30
square
#308A42 #304B8A #8A3078 #8A6F30
split-complementary
#308A42 #6F308A #8A304B
monochromatic
#102F17 #205D2C #308A42 #40B758 #69CB7D

Accessibility & contrast

On white

4.34
#308A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#308A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A42
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A42#FFFFFF#000000##000000
##308A421.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3C
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#168779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a42;
/* rgb */ color: rgb(48, 138, 66);
/* oklch */ color: oklch(56.3% 0.137 147.2);
Tailwind
colors: {
  custom: {
    50: '#73ad78',
    500: '#308a42',
    950: '#000000',
  },
}
SCSS
$custom: #308a42;
$custom-light: #73ad78;
$custom-dark: #000000;
JSON
{
  "hex": "#308a42",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 132,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5625,
    "c": 0.137,
    "h": 147.2
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#308A42
secondary
#B264A2
accent
#50BDD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308A42

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

Preview Lab → · Contrast checker → · Palette generator →

#308A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva