#308A3A#308A3A

#308A3A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.144 H 145.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#308A3A
RGBrgb(48, 138, 58)
HSLhsl(127, 48%, 36%)
HSVhsv(127, 65%, 54%)
CMYKcmyk(65.2%, 0%, 58%, 45.9%)
CIE-LABlab(50.82, -43.82, 34.67)
CIE-LCHlch(50.82, 55.87, 141.65°)
OKLaboklab(56.13% -0.1186 0.0824)
OKLCHoklch(56.13% 0.144 145.2)
XYZxyz(11.0704, 19.1097, 7.1073)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A3A #8A3080
analogous
#538A30 #308A3A #308A67
triadic
#308A3A #3A308A #8A3A30
tetradic
#308A3A #30538A #8A3080 #8A6730
square
#308A3A #30538A #8A3080 #8A6730
split-complementary
#308A3A #67308A #8A3053
monochromatic
#102F14 #205D27 #308A3A #40B74D #69CB74

Accessibility & contrast

On white

4.35
#308A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#308A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A3A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A3A#FFFFFF#000000##000000
##308A3A1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E32
Deuteranopia (green-blind)
#817640
Tritanopia (blue-blind)
#1A8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a3a;
/* rgb */ color: rgb(48, 138, 58);
/* oklch */ color: oklch(56.1% 0.144 145.2);
Tailwind
colors: {
  custom: {
    50: '#73ad72',
    500: '#308a3a',
    950: '#000000',
  },
}
SCSS
$custom: #308a3a;
$custom-light: #73ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#308a3a",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 126.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.14439,
    "h": 145.2
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#308A3A
secondary
#B264A9
accent
#50C9D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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