#308F4A#308F4A

#308F4A is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.136 H 149.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#308F4A
RGBrgb(48, 143, 74)
HSLhsl(136, 50%, 37%)
HSVhsv(136, 66%, 56%)
CMYKcmyk(66.4%, 0%, 48.3%, 43.9%)
CIE-LABlab(52.69, -43.35, 28.69)
CIE-LCHlch(52.69, 51.98, 146.50°)
OKLaboklab(57.75% -0.1169 0.0701)
OKLCHoklch(57.75% 0.136 149.1)
XYZxyz(12.2765, 20.7664, 9.8386)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F4A #8F3075
analogous
#468F30 #308F4A #308F79
triadic
#308F4A #4A308F #8F4A30
tetradic
#308F4A #30468F #8F3075 #8F7930
square
#308F4A #30468F #8F3075 #8F7930
split-complementary
#308F4A #79308F #8F3046
monochromatic
#11331B #216132 #308F4A #3FBD62 #6CCE87

Accessibility & contrast

On white

4.07
#308F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#308F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F4A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F4A#FFFFFF#000000##000000
##308F4A1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908345
Deuteranopia (green-blind)
#847A4F
Tritanopia (blue-blind)
#0C8C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f4a;
/* rgb */ color: rgb(48, 143, 74);
/* oklch */ color: oklch(57.8% 0.136 149.1);
Tailwind
colors: {
  custom: {
    50: '#74b17e',
    500: '#308f4a',
    950: '#000000',
  },
}
SCSS
$custom: #308f4a;
$custom-light: #74b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#308f4a",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 136.421,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.13631,
    "h": 149.1
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#308F4A
secondary
#B5669F
accent
#4FB3D9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #308F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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