#309F2E#309F2E

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

Color values

HEX#309F2E
RGBrgb(48, 159, 46)
HSLhsl(119, 55%, 40%)
HSVhsv(119, 71%, 62%)
CMYKcmyk(69.8%, 0%, 71.1%, 37.6%)
CIE-LABlab(57.67, -52.82, 47.73)
CIE-LCHlch(57.67, 71.19, 137.90°)
OKLaboklab(61.77% -0.1435 0.109)
OKLCHoklch(61.77% 0.18 142.8)
XYZxyz(14.1094, 25.6204, 6.7859)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F2E #9D2E9F
analogous
#689F2E #309F2E #2E9F64
triadic
#309F2E #2E309F #9F2E30
tetradic
#309F2E #2E689F #9D2E9F #9F642E
square
#309F2E #2E689F #9D2E9F #9F642E
split-complementary
#309F2E #642E9F #9F2E68
monochromatic
#134013 #227020 #309F2E #44C842 #73D671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309F2E#FFFFFF#000000##000000
##309F2E1.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)
#A3901C
Deuteranopia (green-blind)
#968739
Tritanopia (blue-blind)
#119A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #309f2e;
/* rgb */ color: rgb(48, 159, 46);
/* oklch */ color: oklch(61.8% 0.180 142.8);
Tailwind
colors: {
  custom: {
    50: '#79bc6d',
    500: '#309f2e',
    950: '#000000',
  },
}
SCSS
$custom: #309f2e;
$custom-light: #79bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#309f2e",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 118.938,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.18022,
    "h": 142.8
  },
  "luminance": 0.25622
}

Semantic roles & 50–950 ramp

primary
#309F2E
secondary
#BC6BBE
accent
#49DEDC
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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