#308D3D#308D3D

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

Color values

HEX#308D3D
RGBrgb(48, 141, 61)
HSLhsl(128, 49%, 37%)
HSVhsv(128, 66%, 55%)
CMYKcmyk(66%, 0%, 56.7%, 44.7%)
CIE-LABlab(51.85, -44.56, 34.40)
CIE-LCHlch(51.85, 56.29, 142.33°)
OKLaboklab(57% -0.1205 0.0821)
OKLCHoklch(57% 0.146 145.7)
XYZxyz(11.5853, 20.0139, 7.6665)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D3D #8D3080
analogous
#528D30 #308D3D #308D6C
triadic
#308D3D #3D308D #8D3D30
tetradic
#308D3D #30528D #8D3080 #8D6C30
square
#308D3D #30528D #8D3080 #8D6C30
split-complementary
#308D3D #6C308D #8D3052
monochromatic
#113215 #205F29 #308D3D #40BB51 #6BCD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308D3D#FFFFFF#000000##000000
##308D3D1.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)
#8F8035
Deuteranopia (green-blind)
#847943
Tritanopia (blue-blind)
#178A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308d3d;
/* rgb */ color: rgb(48, 141, 61);
/* oklch */ color: oklch(57.0% 0.146 145.7);
Tailwind
colors: {
  custom: {
    50: '#74af75',
    500: '#308d3d',
    950: '#000000',
  },
}
SCSS
$custom: #308d3d;
$custom-light: #74af75;
$custom-dark: #000000;
JSON
{
  "hex": "#308d3d",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 128.387,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.14575,
    "h": 145.7
  },
  "luminance": 0.20015
}

Semantic roles & 50–950 ramp

primary
#308D3D
secondary
#B465A9
accent
#4FC6D9
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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