#1F9530#1F9530

#1F9530 is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.172 H 144.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1F9530
RGBrgb(31, 149, 48)
HSLhsl(129, 66%, 35%)
HSVhsv(129, 79%, 58%)
CMYKcmyk(79.2%, 0%, 67.8%, 41.6%)
CIE-LABlab(54.03, -52.08, 42.90)
CIE-LCHlch(54.03, 67.48, 140.52°)
OKLaboklab(58.65% -0.1406 0.0992)
OKLCHoklch(58.65% 0.172 144.8)
XYZxyz(11.8452, 21.9982, 6.4175)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9530 #951F84
analogous
#49951F #1F9530 #1F956B
triadic
#1F9530 #301F95 #95301F
tetradic
#1F9530 #1F4995 #951F84 #956B1F
square
#1F9530 #1F4995 #951F84 #956B1F
split-complementary
#1F9530 #6B1F95 #951F49
monochromatic
#0A300F #146220 #1F9530 #2AC840 #53DB67

Accessibility & contrast

On white

3.89
#1F9530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#1F9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9530
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9530#FFFFFF#000000##000000
##1F95301.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988723
Deuteranopia (green-blind)
#8B7E39
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9530;
/* rgb */ color: rgb(31, 149, 48);
/* oklch */ color: oklch(58.7% 0.172 144.8);
Tailwind
colors: {
  custom: {
    50: '#70b56d',
    500: '#1f9530',
    950: '#000000',
  },
}
SCSS
$custom: #1f9530;
$custom-light: #70b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9530",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 128.644,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.17205,
    "h": 144.8
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#1F9530
secondary
#BF51AF
accent
#3FD0E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9530

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

Preview Lab → · Contrast checker → · Palette generator →

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