#1F9F2C#1F9F2C

#1F9F2C is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.4% C 0.186 H 144.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1F9F2C
RGBrgb(31, 159, 44)
HSLhsl(126, 67%, 37%)
HSVhsv(126, 81%, 62%)
CMYKcmyk(80.5%, 0%, 72.3%, 37.6%)
CIE-LABlab(57.34, -55.76, 48.07)
CIE-LCHlch(57.34, 73.62, 139.24°)
OKLaboklab(61.39% -0.1508 0.1095)
OKLCHoklch(61.39% 0.186 144)
XYZxyz(13.4169, 25.2678, 6.5524)
Luminance0.2527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F2C #9F1F92
analogous
#529F1F #1F9F2C #1F9F6C
triadic
#1F9F2C #2C1F9F #9F2C1F
tetradic
#1F9F2C #1F529F #9F1F92 #9F6C1F
square
#1F9F2C #1F529F #9F1F92 #9F6C1F
split-complementary
#1F9F2C #6C1F9F #9F1F52
monochromatic
#0B3910 #156C1E #1F9F2C #29D23A #5ADF67

Accessibility & contrast

On white

3.47
#1F9F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#1F9F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F2C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F2C#FFFFFF#000000##000000
##1F9F2C1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F19
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f2c;
/* rgb */ color: rgb(31, 159, 44);
/* oklch */ color: oklch(61.4% 0.186 144.0);
Tailwind
colors: {
  custom: {
    50: '#73bd6c',
    500: '#1f9f2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f2c;
$custom-light: #73bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f2c",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 126.094,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.18636,
    "h": 144
  },
  "luminance": 0.25269
}

Semantic roles & 50–950 ramp

primary
#1F9F2C
secondary
#C357B8
accent
#3ED9EA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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