#309D26#309D26

#309D26 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.183 H 141.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#309D26
RGBrgb(48, 157, 38)
HSLhsl(115, 61%, 38%)
HSVhsv(115, 76%, 62%)
CMYKcmyk(69.4%, 0%, 75.8%, 38.4%)
CIE-LABlab(56.96, -52.80, 50.03)
CIE-LCHlch(56.96, 72.74, 136.54°)
OKLaboklab(61.16% -0.1439 0.1128)
OKLCHoklch(61.16% 0.183 141.9)
XYZxyz(13.6250, 24.8808, 5.9178)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D26 #93269D
analogous
#6B9D26 #309D26 #269D57
triadic
#309D26 #26309D #9D2630
tetradic
#309D26 #266B9D #93269D #9D5726
square
#309D26 #266B9D #93269D #9D5726
split-complementary
#309D26 #57269D #9D266B
monochromatic
#123A0E #216C1A #309D26 #40CE33 #6ED964

Accessibility & contrast

On white

3.51
#309D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#309D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D26
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D26#FFFFFF#000000##000000
##309D261.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0D
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#169886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d26;
/* rgb */ color: rgb(48, 157, 38);
/* oklch */ color: oklch(61.2% 0.183 141.9);
Tailwind
colors: {
  custom: {
    50: '#79bb69',
    500: '#309d26',
    950: '#000000',
  },
}
SCSS
$custom: #309d26;
$custom-light: #79bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#309d26",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 114.958,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.18279,
    "h": 141.9
  },
  "luminance": 0.24882
}

Semantic roles & 50–950 ramp

primary
#309D26
secondary
#B760BF
accent
#44E4D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309D26

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

Preview Lab → · Contrast checker → · Palette generator →

#309D26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva