#308D2D#308D2D

#308D2D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.159 H 142.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308D2D
RGBrgb(48, 141, 45)
HSLhsl(118, 52%, 36%)
HSVhsv(118, 68%, 55%)
CMYKcmyk(66%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.69, -46.50, 41.77)
CIE-LCHlch(51.69, 62.50, 138.06°)
OKLaboklab(56.81% -0.1264 0.0964)
OKLCHoklch(56.81% 0.159 142.7)
XYZxyz(11.2168, 19.8665, 5.7256)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D2D #8A2D8D
analogous
#608D2D #308D2D #2D8D5A
triadic
#308D2D #2D308D #8D2D30
tetradic
#308D2D #2D608D #8A2D8D #8D5A2D
square
#308D2D #2D608D #8A2D8D #8D5A2D
split-complementary
#308D2D #5A2D8D #8D2D60
monochromatic
#10300F #205F1E #308D2D #40BB3C #69CE66

Accessibility & contrast

On white

4.22
#308D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#308D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D2D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D2D#FFFFFF#000000##000000
##308D2D1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d2d;
/* rgb */ color: rgb(48, 141, 45);
/* oklch */ color: oklch(56.8% 0.159 142.7);
Tailwind
colors: {
  custom: {
    50: '#75af6b',
    500: '#308d2d',
    950: '#000000',
  },
}
SCSS
$custom: #308d2d;
$custom-light: #75af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#308d2d",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 118.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.15897,
    "h": 142.7
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#308D2D
secondary
#B261B5
accent
#4DDBD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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