#309D22#309D22

#309D22 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.185 H 141.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#309D22
RGBrgb(48, 157, 34)
HSLhsl(113, 64%, 37%)
HSVhsv(113, 78%, 62%)
CMYKcmyk(69.4%, 0%, 78.3%, 38.4%)
CIE-LABlab(56.94, -53.09, 51.39)
CIE-LCHlch(56.94, 73.89, 135.93°)
OKLaboklab(61.13% -0.1448 0.115)
OKLCHoklch(61.13% 0.185 141.5)
XYZxyz(13.5639, 24.8564, 5.5960)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D22 #8F229D
analogous
#6D9D22 #309D22 #229D52
triadic
#309D22 #22309D #9D2230
tetradic
#309D22 #226D9D #8F229D #9D5222
square
#309D22 #226D9D #8F229D #9D5222
split-complementary
#309D22 #52229D #9D226D
monochromatic
#11380C #216B17 #309D22 #3FCF2D #6CDC5D

Accessibility & contrast

On white

3.52
#309D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#309D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D22
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D22#FFFFFF#000000##000000
##309D221.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E02
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#179886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d22;
/* rgb */ color: rgb(48, 157, 34);
/* oklch */ color: oklch(61.1% 0.185 141.5);
Tailwind
colors: {
  custom: {
    50: '#79bb67',
    500: '#309d22',
    950: '#000000',
  },
}
SCSS
$custom: #309d22;
$custom-light: #79bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#309d22",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 113.171,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61132,
    "c": 0.18496,
    "h": 141.5
  },
  "luminance": 0.24858
}

Semantic roles & 50–950 ramp

primary
#309D22
secondary
#B55AC1
accent
#40E7D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309D22

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

Preview Lab → · Contrast checker → · Palette generator →

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