#308236#308236

#308236 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.137 H 144.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#308236
RGBrgb(48, 130, 54)
HSLhsl(124, 46%, 35%)
HSVhsv(124, 63%, 51%)
CMYKcmyk(63.1%, 0%, 58.5%, 49%)
CIE-LABlab(48.08, -41.23, 33.45)
CIE-LCHlch(48.08, 53.09, 140.95°)
OKLaboklab(53.86% -0.1117 0.0794)
OKLCHoklch(53.86% 0.137 144.6)
XYZxyz(9.8668, 16.8590, 6.2235)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308236 #82307C
analogous
#538230 #308236 #30825F
triadic
#308236 #363082 #823630
tetradic
#308236 #305382 #82307C #825F30
square
#308236 #305382 #82307C #825F30
split-complementary
#308236 #5F3082 #823053
monochromatic
#0F2911 #1F5523 #308236 #41AF49 #66C66D

Accessibility & contrast

On white

4.80
#308236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#308236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308236
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308236#FFFFFF#000000##FFFFFF
##3082361.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#7A6F3C
Tritanopia (blue-blind)
#1F7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308236;
/* rgb */ color: rgb(48, 130, 54);
/* oklch */ color: oklch(53.9% 0.137 144.6);
Tailwind
colors: {
  custom: {
    50: '#72a76f',
    500: '#308236',
    950: '#000000',
  },
}
SCSS
$custom: #308236;
$custom-light: #72a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#308236",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 124.39,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.13706,
    "h": 144.6
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#308236
secondary
#AE60A8
accent
#52CCD6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #308236

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

Preview Lab → · Contrast checker → · Palette generator →

#308236 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva