#308C2E#308C2E

#308C2E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.157 H 142.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#308C2E
RGBrgb(48, 140, 46)
HSLhsl(119, 51%, 36%)
HSVhsv(119, 67%, 55%)
CMYKcmyk(65.7%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.36, -46.02, 40.98)
CIE-LCHlch(51.36, 61.62, 138.32°)
OKLaboklab(56.54% -0.1251 0.0948)
OKLCHoklch(56.54% 0.157 142.9)
XYZxyz(11.0895, 19.5807, 5.7793)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C2E #8A2E8C
analogous
#5F8C2E #308C2E #2E8C5B
triadic
#308C2E #2E308C #8C2E30
tetradic
#308C2E #2E5F8C #8A2E8C #8C5B2E
square
#308C2E #2E5F8C #8A2E8C #8C5B2E
split-complementary
#308C2E #5B2E8C #8C2E5F
monochromatic
#103010 #205E1F #308C2E #40BA3D #69CD67

Accessibility & contrast

On white

4.27
#308C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#308C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C2E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C2E#FFFFFF#000000##000000
##308C2E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#1D8879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c2e;
/* rgb */ color: rgb(48, 140, 46);
/* oklch */ color: oklch(56.5% 0.157 142.9);
Tailwind
colors: {
  custom: {
    50: '#74ae6b',
    500: '#308c2e',
    950: '#000000',
  },
}
SCSS
$custom: #308c2e;
$custom-light: #74ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#308c2e",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 118.723,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.15695,
    "h": 142.9
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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