#308D2C#308D2C

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

Color values

HEX#308D2C
RGBrgb(48, 141, 44)
HSLhsl(118, 52%, 36%)
HSVhsv(118, 69%, 55%)
CMYKcmyk(66%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.68, -46.60, 42.20)
CIE-LCHlch(51.68, 62.86, 137.84°)
OKLaboklab(56.8% -0.1268 0.0971)
OKLCHoklch(56.8% 0.16 142.5)
XYZxyz(11.1978, 19.8589, 5.6254)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D2C #892C8D
analogous
#618D2C #308D2C #2C8D59
triadic
#308D2C #2C308D #8D2C30
tetradic
#308D2C #2C618D #892C8D #8D592C
square
#308D2C #2C618D #892C8D #8D592C
split-complementary
#308D2C #592C8D #8D2C61
monochromatic
#10300F #205E1D #308D2C #40BC3B #69CF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308D2C#FFFFFF#000000##000000
##308D2C1.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)
#90801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d2c;
/* rgb */ color: rgb(48, 141, 44);
/* oklch */ color: oklch(56.8% 0.160 142.5);
Tailwind
colors: {
  custom: {
    50: '#75af6a',
    500: '#308d2c',
    950: '#000000',
  },
}
SCSS
$custom: #308d2c;
$custom-light: #75af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#308d2c",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 117.526,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56799,
    "c": 0.15969,
    "h": 142.5
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#308D2C
secondary
#B260B5
accent
#4CDCD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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