#309F1C#309F1C

#309F1C is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.190 H 141.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#309F1C
RGBrgb(48, 159, 28)
HSLhsl(111, 70%, 37%)
HSVhsv(111, 82%, 62%)
CMYKcmyk(69.8%, 0%, 82.4%, 37.6%)
CIE-LABlab(57.57, -54.14, 53.85)
CIE-LCHlch(57.57, 76.35, 135.15°)
OKLaboklab(61.65% -0.148 0.1193)
OKLCHoklch(61.65% 0.19 141.1)
XYZxyz(13.8259, 25.5070, 5.2931)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F1C #8B1C9F
analogous
#729F1C #309F1C #1C9F4A
triadic
#309F1C #1C309F #9F1C30
tetradic
#309F1C #1C729F #8B1C9F #9F4A1C
square
#309F1C #1C729F #8B1C9F #9F4A1C
split-complementary
#309F1C #4A1C9F #9F1C72
monochromatic
#11370A #206B13 #309F1C #40D325 #6AE154

Accessibility & contrast

On white

3.44
#309F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#309F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F1C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F1C#FFFFFF#000000##000000
##309F1C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#179A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f1c;
/* rgb */ color: rgb(48, 159, 28);
/* oklch */ color: oklch(61.6% 0.190 141.1);
Tailwind
colors: {
  custom: {
    50: '#79bc65',
    500: '#309f1c',
    950: '#000000',
  },
}
SCSS
$custom: #309f1c;
$custom-light: #79bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#309f1c",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 110.84,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.19006,
    "h": 141.1
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#309F1C
secondary
#B353C4
accent
#3BEDD2
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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