#308C2C#308C2C

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

Color values

HEX#308C2C
RGBrgb(48, 140, 44)
HSLhsl(118, 52%, 36%)
HSVhsv(118, 69%, 55%)
CMYKcmyk(65.7%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.34, -46.23, 41.83)
CIE-LCHlch(51.34, 62.35, 137.86°)
OKLaboklab(56.52% -0.1258 0.0964)
OKLCHoklch(56.52% 0.158 142.5)
XYZxyz(11.0510, 19.5653, 5.5765)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C2C #882C8C
analogous
#608C2C #308C2C #2C8C58
triadic
#308C2C #2C308C #8C2C30
tetradic
#308C2C #2C608C #882C8C #8C582C
square
#308C2C #2C608C #882C8C #8C582C
split-complementary
#308C2C #582C8C #8C2C60
monochromatic
#102F0F #205D1D #308C2C #40BB3B #69CE64

Accessibility & contrast

On white

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

On black

4.91
#308C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C2C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C2C#FFFFFF#000000##000000
##308C2C1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#1D8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c2c;
/* rgb */ color: rgb(48, 140, 44);
/* oklch */ color: oklch(56.5% 0.158 142.5);
Tailwind
colors: {
  custom: {
    50: '#75ae6a',
    500: '#308c2c',
    950: '#000000',
  },
}
SCSS
$custom: #308c2c;
$custom-light: #75ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#308c2c",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 117.5,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.15844,
    "h": 142.5
  },
  "luminance": 0.19566
}

Semantic roles & 50–950 ramp

primary
#308C2C
secondary
#B15FB5
accent
#4CDCD6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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