#308D3C#308D3C

#308D3C is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.147 H 145.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#308D3C
RGBrgb(48, 141, 60)
HSLhsl(128, 49%, 37%)
HSVhsv(128, 66%, 55%)
CMYKcmyk(66%, 0%, 57.4%, 44.7%)
CIE-LABlab(51.84, -44.70, 34.89)
CIE-LCHlch(51.84, 56.70, 142.03°)
OKLaboklab(56.99% -0.1209 0.0831)
OKLCHoklch(56.99% 0.147 145.5)
XYZxyz(11.5587, 20.0032, 7.5260)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D3C #8D3081
analogous
#538D30 #308D3C #308D6B
triadic
#308D3C #3C308D #8D3C30
tetradic
#308D3C #30538D #8D3081 #8D6B30
square
#308D3C #30538D #8D3081 #8D6B30
split-complementary
#308D3C #6B308D #8D3053
monochromatic
#113215 #205F29 #308D3C #40BB4F #6BCD77

Accessibility & contrast

On white

4.20
#308D3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#308D3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D3C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D3C#FFFFFF#000000##000000
##308D3C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8034
Deuteranopia (green-blind)
#847942
Tritanopia (blue-blind)
#178A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308d3c;
/* rgb */ color: rgb(48, 141, 60);
/* oklch */ color: oklch(57.0% 0.147 145.5);
Tailwind
colors: {
  custom: {
    50: '#74af74',
    500: '#308d3c',
    950: '#000000',
  },
}
SCSS
$custom: #308d3c;
$custom-light: #74af74;
$custom-dark: #000000;
JSON
{
  "hex": "#308d3c",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 60
  },
  "hsl": {
    "h": 127.742,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.14665,
    "h": 145.5
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#308D3C
secondary
#B465AA
accent
#4FC7D9
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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