#309F2F#309F2F

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

Color values

HEX#309F2F
RGBrgb(48, 159, 47)
HSLhsl(119, 54%, 40%)
HSVhsv(119, 70%, 62%)
CMYKcmyk(69.8%, 0%, 70.4%, 37.6%)
CIE-LABlab(57.68, -52.73, 47.34)
CIE-LCHlch(57.68, 70.86, 138.08°)
OKLaboklab(61.78% -0.1432 0.1083)
OKLCHoklch(61.78% 0.18 142.9)
XYZxyz(14.1293, 25.6284, 6.8909)
Luminance0.2563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F2F #9E2F9F
analogous
#689F2F #309F2F #2F9F66
triadic
#309F2F #2F309F #9F2F30
tetradic
#309F2F #2F689F #9E2F9F #9F662F
square
#309F2F #2F689F #9E2F9F #9F662F
split-complementary
#309F2F #662F9F #9F2F68
monochromatic
#134113 #227021 #309F2F #45C844 #74D673

Accessibility & contrast

On white

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

On black

6.13
#309F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F2F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F2F#FFFFFF#000000##000000
##309F2F1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901E
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#119A89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #309f2f;
/* rgb */ color: rgb(48, 159, 47);
/* oklch */ color: oklch(61.8% 0.180 142.9);
Tailwind
colors: {
  custom: {
    50: '#79bc6e',
    500: '#309f2f',
    950: '#000000',
  },
}
SCSS
$custom: #309f2f;
$custom-light: #79bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#309f2f",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 119.464,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.17956,
    "h": 142.9
  },
  "luminance": 0.2563
}

Semantic roles & 50–950 ramp

primary
#309F2F
secondary
#BD6DBD
accent
#4ADEDC
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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