#1F8530#1F8530

#1F8530 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.152 H 145.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F8530
RGBrgb(31, 133, 48)
HSLhsl(130, 62%, 32%)
HSVhsv(130, 77%, 52%)
CMYKcmyk(76.7%, 0%, 63.9%, 47.8%)
CIE-LABlab(48.61, -46.57, 36.88)
CIE-LCHlch(48.61, 59.40, 141.62°)
OKLaboklab(54.16% -0.1256 0.0864)
OKLCHoklch(54.16% 0.152 145.5)
XYZxyz(9.4854, 17.2787, 5.6309)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8530 #851F74
analogous
#41851F #1F8530 #1F8563
triadic
#1F8530 #301F85 #85301F
tetradic
#1F8530 #1F4185 #851F74 #85631F
square
#1F8530 #1F4185 #851F74 #85631F
split-complementary
#1F8530 #631F85 #851F41
monochromatic
#08220C #13531E #1F8530 #2BB742 #4AD561

Accessibility & contrast

On white

4.71
#1F8530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F8530 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8530
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8530#FFFFFF#000000##FFFFFF
##1F85301.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#7C7037
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8530;
/* rgb */ color: rgb(31, 133, 48);
/* oklch */ color: oklch(54.2% 0.152 145.5);
Tailwind
colors: {
  custom: {
    50: '#6caa6c',
    500: '#1f8530',
    950: '#000000',
  },
}
SCSS
$custom: #1f8530;
$custom-light: #6caa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8530",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 130,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.15245,
    "h": 145.5
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#1F8530
secondary
#B749A5
accent
#43CAE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8530

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

Preview Lab → · Contrast checker → · Palette generator →

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