#308F4F#308F4F

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

Color values

HEX#308F4F
RGBrgb(48, 143, 79)
HSLhsl(140, 50%, 37%)
HSVhsv(140, 66%, 56%)
CMYKcmyk(66.4%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.77, -42.48, 26.10)
CIE-LCHlch(52.77, 49.86, 148.43°)
OKLaboklab(57.84% -0.1146 0.0643)
OKLCHoklch(57.84% 0.131 150.7)
XYZxyz(12.4517, 20.8365, 10.7613)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F4F #8F3070
analogous
#418F30 #308F4F #308F7F
triadic
#308F4F #4F308F #8F4F30
tetradic
#308F4F #30418F #8F3070 #8F7F30
square
#308F4F #30418F #8F3070 #8F7F30
split-complementary
#308F4F #7F308F #8F3041
monochromatic
#11331C #216136 #308F4F #3FBD68 #6CCE8C

Accessibility & contrast

On white

4.06
#308F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#308F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F4F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F4F#FFFFFF#000000##000000
##308F4F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834A
Deuteranopia (green-blind)
#847B53
Tritanopia (blue-blind)
#078D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f4f;
/* rgb */ color: rgb(48, 143, 79);
/* oklch */ color: oklch(57.8% 0.131 150.7);
Tailwind
colors: {
  custom: {
    50: '#74b181',
    500: '#308f4f',
    950: '#000000',
  },
}
SCSS
$custom: #308f4f;
$custom-light: #74b181;
$custom-dark: #000000;
JSON
{
  "hex": "#308f4f",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 139.579,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5784,
    "c": 0.13144,
    "h": 150.7
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#308F4F
secondary
#B5669B
accent
#4FACD9
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #308F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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