#1F8030#1F8030

#1F8030 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.146 H 145.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F8030
RGBrgb(31, 128, 48)
HSLhsl(131, 61%, 31%)
HSVhsv(131, 76%, 50%)
CMYKcmyk(75.8%, 0%, 62.5%, 49.8%)
CIE-LABlab(46.90, -44.77, 34.93)
CIE-LCHlch(46.90, 56.78, 142.04°)
OKLaboklab(52.74% -0.1207 0.0822)
OKLCHoklch(52.74% 0.146 145.8)
XYZxyz(8.8171, 15.9420, 5.4082)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8030 #801F6F
analogous
#3E801F #1F8030 #1F8060
triadic
#1F8030 #301F80 #80301F
tetradic
#1F8030 #1F3E80 #801F6F #80601F
square
#1F8030 #1F3E80 #801F6F #80601F
split-complementary
#1F8030 #601F80 #801F3E
monochromatic
#071D0B #134F1E #1F8030 #2BB142 #47D25F

Accessibility & contrast

On white

5.01
#1F8030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1F8030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8030
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8030#FFFFFF#000000##FFFFFF
##1F80301.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827427
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8030;
/* rgb */ color: rgb(31, 128, 48);
/* oklch */ color: oklch(52.7% 0.146 145.8);
Tailwind
colors: {
  custom: {
    50: '#6ba66b',
    500: '#1f8030',
    950: '#000000',
  },
}
SCSS
$custom: #1f8030;
$custom-light: #6ba66b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8030",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 48
  },
  "hsl": {
    "h": 130.515,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.14606,
    "h": 145.8
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#1F8030
secondary
#B348A0
accent
#44C8E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #1F8030

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

Preview Lab → · Contrast checker → · Palette generator →

#1F8030 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva