#308B2F#308B2F

#308B2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.155 H 143.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#308B2F
RGBrgb(48, 139, 47)
HSLhsl(119, 49%, 36%)
HSVhsv(119, 66%, 55%)
CMYKcmyk(65.5%, 0%, 66.2%, 45.5%)
CIE-LABlab(51.03, -45.54, 40.17)
CIE-LCHlch(51.03, 60.73, 138.59°)
OKLaboklab(56.28% -0.1237 0.0932)
OKLCHoklch(56.28% 0.155 143)
XYZxyz(10.9640, 19.2978, 5.8358)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B2F #8A2F8B
analogous
#5E8B2F #308B2F #2F8B5C
triadic
#308B2F #2F308B #8B2F30
tetradic
#308B2F #2F5E8B #8A2F8B #8B5C2F
square
#308B2F #2F5E8B #8A2F8B #8B5C2F
split-complementary
#308B2F #5C2F8B #8B2F5E
monochromatic
#103010 #205D20 #308B2F #40B93E #69CC68

Accessibility & contrast

On white

4.32
#308B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#308B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B2F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B2F#FFFFFF#000000##000000
##308B2F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#1D8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b2f;
/* rgb */ color: rgb(48, 139, 47);
/* oklch */ color: oklch(56.3% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#74ae6c',
    500: '#308b2f',
    950: '#000000',
  },
}
SCSS
$custom: #308b2f;
$custom-light: #74ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#308b2f",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 119.348,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.15491,
    "h": 143
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#308B2F
secondary
#B263B3
accent
#4FD9D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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