#308F4B#308F4B

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

Color values

HEX#308F4B
RGBrgb(48, 143, 75)
HSLhsl(137, 50%, 37%)
HSVhsv(137, 66%, 56%)
CMYKcmyk(66.4%, 0%, 47.6%, 43.9%)
CIE-LABlab(52.71, -43.18, 28.17)
CIE-LCHlch(52.71, 51.56, 146.87°)
OKLaboklab(57.77% -0.1165 0.0689)
OKLCHoklch(57.77% 0.135 149.4)
XYZxyz(12.3105, 20.7800, 10.0174)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F4B #8F3074
analogous
#448F30 #308F4B #308F7B
triadic
#308F4B #4B308F #8F4B30
tetradic
#308F4B #30448F #8F3074 #8F7B30
square
#308F4B #30448F #8F3074 #8F7B30
split-complementary
#308F4B #7B308F #8F3044
monochromatic
#11331B #216133 #308F4B #3FBD63 #6CCE88

Accessibility & contrast

On white

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

On black

5.16
#308F4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F4B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F4B#FFFFFF#000000##000000
##308F4B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908346
Deuteranopia (green-blind)
#847A50
Tritanopia (blue-blind)
#0B8C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f4b;
/* rgb */ color: rgb(48, 143, 75);
/* oklch */ color: oklch(57.8% 0.135 149.4);
Tailwind
colors: {
  custom: {
    50: '#74b17e',
    500: '#308f4b',
    950: '#000000',
  },
}
SCSS
$custom: #308f4b;
$custom-light: #74b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#308f4b",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 137.053,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57768,
    "c": 0.13534,
    "h": 149.4
  },
  "luminance": 0.20781
}

Semantic roles & 50–950 ramp

primary
#308F4B
secondary
#B5669E
accent
#4FB2D9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #308F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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