#309F2C#309F2C

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

Color values

HEX#309F2C
RGBrgb(48, 159, 44)
HSLhsl(118, 57%, 40%)
HSVhsv(118, 72%, 62%)
CMYKcmyk(69.8%, 0%, 72.3%, 37.6%)
CIE-LABlab(57.66, -53.00, 48.50)
CIE-LCHlch(57.66, 71.84, 137.54°)
OKLaboklab(61.75% -0.1441 0.1104)
OKLCHoklch(61.75% 0.182 142.6)
XYZxyz(14.0709, 25.6050, 6.5831)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F2C #9B2C9F
analogous
#6A9F2C #309F2C #2C9F62
triadic
#309F2C #2C309F #9F2C30
tetradic
#309F2C #2C6A9F #9B2C9F #9F622C
square
#309F2C #2C6A9F #9B2C9F #9F622C
split-complementary
#309F2C #622C9F #9F2C6A
monochromatic
#133F11 #226F1F #309F2C #43CA3E #72D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309F2C#FFFFFF#000000##000000
##309F2C1.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)
#A39019
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#129A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f2c;
/* rgb */ color: rgb(48, 159, 44);
/* oklch */ color: oklch(61.8% 0.182 142.6);
Tailwind
colors: {
  custom: {
    50: '#79bc6c',
    500: '#309f2c',
    950: '#000000',
  },
}
SCSS
$custom: #309f2c;
$custom-light: #79bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#309f2c",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 117.913,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.18151,
    "h": 142.6
  },
  "luminance": 0.25607
}

Semantic roles & 50–950 ramp

primary
#309F2C
secondary
#BB69BE
accent
#48E0DB
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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