#309F1F#309F1F

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

Color values

HEX#309F1F
RGBrgb(48, 159, 31)
HSLhsl(112, 67%, 37%)
HSVhsv(112, 81%, 62%)
CMYKcmyk(69.8%, 0%, 80.5%, 37.6%)
CIE-LABlab(57.58, -53.96, 52.97)
CIE-LCHlch(57.58, 75.61, 135.53°)
OKLaboklab(61.66% -0.1473 0.1179)
OKLCHoklch(61.66% 0.189 141.3)
XYZxyz(13.8636, 25.5221, 5.4917)
Luminance0.2552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F1F #8E1F9F
analogous
#709F1F #309F1F #1F9F4E
triadic
#309F1F #1F309F #9F1F30
tetradic
#309F1F #1F709F #8E1F9F #9F4E1F
square
#309F1F #1F709F #8E1F9F #9F4E1F
split-complementary
#309F1F #4E1F9F #9F1F70
monochromatic
#11390B #216C15 #309F1F #3FD229 #6BDF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309F1F#FFFFFF#000000##000000
##309F1F1.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)
#96872E
Tritanopia (blue-blind)
#169A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f1f;
/* rgb */ color: rgb(48, 159, 31);
/* oklch */ color: oklch(61.7% 0.189 141.3);
Tailwind
colors: {
  custom: {
    50: '#79bc66',
    500: '#309f1f',
    950: '#000000',
  },
}
SCSS
$custom: #309f1f;
$custom-light: #79bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#309f1f",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 112.031,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.18871,
    "h": 141.3
  },
  "luminance": 0.25524
}

Semantic roles & 50–950 ramp

primary
#309F1F
secondary
#B457C3
accent
#3EEAD3
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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