#308F4C#308F4C

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

Color values

HEX#308F4C
RGBrgb(48, 143, 76)
HSLhsl(138, 50%, 37%)
HSVhsv(138, 66%, 56%)
CMYKcmyk(66.4%, 0%, 46.9%, 43.9%)
CIE-LABlab(52.72, -43.01, 27.66)
CIE-LCHlch(52.72, 51.13, 147.25°)
OKLaboklab(57.79% -0.116 0.0678)
OKLCHoklch(57.79% 0.134 149.7)
XYZxyz(12.3449, 20.7938, 10.1991)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F4C #8F3073
analogous
#448F30 #308F4C #308F7B
triadic
#308F4C #4C308F #8F4C30
tetradic
#308F4C #30448F #8F3073 #8F7B30
square
#308F4C #30448F #8F3073 #8F7B30
split-complementary
#308F4C #7B308F #8F3044
monochromatic
#11331B #216134 #308F4C #3FBD64 #6CCE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308F4C#FFFFFF#000000##000000
##308F4C1.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)
#908347
Deuteranopia (green-blind)
#847B51
Tritanopia (blue-blind)
#0A8C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f4c;
/* rgb */ color: rgb(48, 143, 76);
/* oklch */ color: oklch(57.8% 0.134 149.7);
Tailwind
colors: {
  custom: {
    50: '#74b17f',
    500: '#308f4c',
    950: '#000000',
  },
}
SCSS
$custom: #308f4c;
$custom-light: #74b17f;
$custom-dark: #000000;
JSON
{
  "hex": "#308f4c",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 137.684,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.13437,
    "h": 149.7
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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