#308C4F#308C4F

#308C4F is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.0% C 0.127 H 151.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#308C4F
RGBrgb(48, 140, 79)
HSLhsl(140, 49%, 37%)
HSVhsv(140, 66%, 55%)
CMYKcmyk(65.7%, 0%, 43.6%, 45.1%)
CIE-LABlab(51.78, -41.26, 24.82)
CIE-LCHlch(51.78, 48.15, 148.98°)
OKLaboklab(57.02% -0.1114 0.0613)
OKLCHoklch(57.02% 0.127 151.2)
XYZxyz(12.0073, 19.9478, 10.6131)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C4F #8C306D
analogous
#3F8C30 #308C4F #308C7D
triadic
#308C4F #4F308C #8C4F30
tetradic
#308C4F #303F8C #8C306D #8C7D30
square
#308C4F #303F8C #8C306D #8C7D30
split-complementary
#308C4F #7D308C #8C303F
monochromatic
#11311C #205E35 #308C4F #40BA69 #6ACC8B

Accessibility & contrast

On white

4.21
#308C4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#308C4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C4F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C4F#FFFFFF#000000##000000
##308C4F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D804B
Deuteranopia (green-blind)
#817853
Tritanopia (blue-blind)
#0A8A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c4f;
/* rgb */ color: rgb(48, 140, 79);
/* oklch */ color: oklch(57.0% 0.127 151.2);
Tailwind
colors: {
  custom: {
    50: '#73ae81',
    500: '#308c4f',
    950: '#000000',
  },
}
SCSS
$custom: #308c4f;
$custom-light: #73ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#308c4f",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 79
  },
  "hsl": {
    "h": 140.217,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.12718,
    "h": 151.2
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#308C4F
secondary
#B36499
accent
#4FAAD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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