#308F2D#308F2D

#308F2D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.161 H 142.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#308F2D
RGBrgb(48, 143, 45)
HSLhsl(118, 52%, 37%)
HSVhsv(118, 69%, 56%)
CMYKcmyk(66.4%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.36, -47.23, 42.49)
CIE-LCHlch(52.36, 63.53, 138.02°)
OKLaboklab(57.36% -0.1284 0.0979)
OKLCHoklch(57.36% 0.161 142.7)
XYZxyz(11.5144, 20.4616, 5.8248)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F2D #8C2D8F
analogous
#618F2D #308F2D #2D8F5B
triadic
#308F2D #2D308F #8F2D30
tetradic
#308F2D #2D618F #8C2D8F #8F5B2D
square
#308F2D #2D618F #8C2D8F #8F5B2D
split-complementary
#308F2D #5B2D8F #8F2D61
monochromatic
#113210 #20601E #308F2D #40BE3C #6ACF67

Accessibility & contrast

On white

4.12
#308F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#308F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F2D#FFFFFF#000000##000000
##308F2D1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f2d;
/* rgb */ color: rgb(48, 143, 45);
/* oklch */ color: oklch(57.4% 0.161 142.7);
Tailwind
colors: {
  custom: {
    50: '#75b16b',
    500: '#308f2d',
    950: '#000000',
  },
}
SCSS
$custom: #308f2d;
$custom-light: #75b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#308f2d",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 118.163,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.16147,
    "h": 142.7
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#308F2D
secondary
#B362B6
accent
#4CDCD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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