#308D2F#308D2F

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

Color values

HEX#308D2F
RGBrgb(48, 141, 47)
HSLhsl(119, 50%, 37%)
HSVhsv(119, 67%, 55%)
CMYKcmyk(66%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.70, -46.29, 40.91)
CIE-LCHlch(51.70, 61.77, 138.53°)
OKLaboklab(56.83% -0.1258 0.0948)
OKLCHoklch(56.83% 0.157 143)
XYZxyz(11.2562, 19.8822, 5.9332)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D2F #8C2F8D
analogous
#5F8D2F #308D2F #2F8D5D
triadic
#308D2F #2F308D #8D2F30
tetradic
#308D2F #2F5F8D #8C2F8D #8D5D2F
square
#308D2F #2F5F8D #8C2F8D #8D5D2F
split-complementary
#308D2F #5D2F8D #8D2F5F
monochromatic
#113110 #205F20 #308D2F #40BB3E #6ACD69

Accessibility & contrast

On white

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

On black

4.98
#308D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D2F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D2F#FFFFFF#000000##000000
##308D2F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1C897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d2f;
/* rgb */ color: rgb(48, 141, 47);
/* oklch */ color: oklch(56.8% 0.157 143.0);
Tailwind
colors: {
  custom: {
    50: '#75af6c',
    500: '#308d2f',
    950: '#000000',
  },
}
SCSS
$custom: #308d2f;
$custom-light: #75af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#308d2f",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 119.362,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.15746,
    "h": 143
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#308D2F
secondary
#B364B4
accent
#4EDAD8
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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