#308B2E#308B2E

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

Color values

HEX#308B2E
RGBrgb(48, 139, 46)
HSLhsl(119, 50%, 36%)
HSVhsv(119, 67%, 55%)
CMYKcmyk(65.5%, 0%, 66.9%, 45.5%)
CIE-LABlab(51.02, -45.65, 40.61)
CIE-LCHlch(51.02, 61.10, 138.35°)
OKLaboklab(56.27% -0.1241 0.094)
OKLCHoklch(56.27% 0.156 142.9)
XYZxyz(10.9441, 19.2898, 5.7308)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B2E #892E8B
analogous
#5F8B2E #308B2E #2E8B5B
triadic
#308B2E #2E308B #8B2E30
tetradic
#308B2E #2E5F8B #892E8B #8B5B2E
square
#308B2E #2E5F8B #892E8B #8B5B2E
split-complementary
#308B2E #5B2E8B #8B2E5F
monochromatic
#102F10 #205D1F #308B2E #40B93D #69CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308B2E#FFFFFF#000000##000000
##308B2E1.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)
#8E7E22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#1D8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b2e;
/* rgb */ color: rgb(48, 139, 46);
/* oklch */ color: oklch(56.3% 0.156 142.9);
Tailwind
colors: {
  custom: {
    50: '#74ae6b',
    500: '#308b2e',
    950: '#000000',
  },
}
SCSS
$custom: #308b2e;
$custom-light: #74ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#308b2e",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 118.71,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.15568,
    "h": 142.9
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#308B2E
secondary
#B261B3
accent
#4EDAD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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