#309F2B#309F2B

#309F2B is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.182 H 142.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#309F2B
RGBrgb(48, 159, 43)
HSLhsl(117, 57%, 40%)
HSVhsv(117, 73%, 62%)
CMYKcmyk(69.8%, 0%, 73%, 37.6%)
CIE-LABlab(57.65, -53.08, 48.88)
CIE-LCHlch(57.65, 72.16, 137.36°)
OKLaboklab(61.75% -0.1444 0.111)
OKLCHoklch(61.75% 0.182 142.4)
XYZxyz(14.0523, 25.5976, 6.4853)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F2B #9A2B9F
analogous
#6A9F2B #309F2B #2B9F60
triadic
#309F2B #2B309F #9F2B30
tetradic
#309F2B #2B6A9F #9A2B9F #9F602B
square
#309F2B #2B6A9F #9A2B9F #9F602B
split-complementary
#309F2B #602B9F #9F2B6A
monochromatic
#133F11 #216F1E #309F2B #43CA3D #72D76D

Accessibility & contrast

On white

3.43
#309F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#309F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F2B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F2B#FFFFFF#000000##000000
##309F2B1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#129A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f2b;
/* rgb */ color: rgb(48, 159, 43);
/* oklch */ color: oklch(61.7% 0.182 142.4);
Tailwind
colors: {
  custom: {
    50: '#79bc6c',
    500: '#309f2b',
    950: '#000000',
  },
}
SCSS
$custom: #309f2b;
$custom-light: #79bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#309f2b",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 117.414,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.18213,
    "h": 142.4
  },
  "luminance": 0.25599
}

Semantic roles & 50–950 ramp

primary
#309F2B
secondary
#BB67BE
accent
#47E1DA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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