#1F9C2B#1F9C2B

#1F9C2B is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.184 H 143.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#1F9C2B
RGBrgb(31, 156, 43)
HSLhsl(126, 67%, 37%)
HSVhsv(126, 80%, 61%)
CMYKcmyk(80.1%, 0%, 72.4%, 38.8%)
CIE-LABlab(56.33, -54.88, 47.41)
CIE-LCHlch(56.33, 72.53, 139.18°)
OKLaboklab(60.55% -0.1484 0.108)
OKLCHoklch(60.55% 0.184 143.9)
XYZxyz(12.8887, 24.2411, 6.2848)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9C2B #9C1F90
analogous
#529C1F #1F9C2B #1F9C6A
triadic
#1F9C2B #2B1F9C #9C2B1F
tetradic
#1F9C2B #1F529C #9C1F90 #9C6A1F
square
#1F9C2B #1F529C #9C1F90 #9C6A1F
split-complementary
#1F9C2B #6A1F9C #9C1F52
monochromatic
#0B360F #15691D #1F9C2B #29CF39 #58DE65

Accessibility & contrast

On white

3.59
#1F9C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#1F9C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9C2B
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9C2B#FFFFFF#000000##000000
##1F9C2B1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D18
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9c2b;
/* rgb */ color: rgb(31, 156, 43);
/* oklch */ color: oklch(60.6% 0.184 143.9);
Tailwind
colors: {
  custom: {
    50: '#72ba6b',
    500: '#1f9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f9c2b;
$custom-light: #72ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9c2b",
  "rgb": {
    "r": 31,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 125.76,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.18359,
    "h": 143.9
  },
  "luminance": 0.24243
}

Semantic roles & 50–950 ramp

primary
#1F9C2B
secondary
#C155B7
accent
#3ED9EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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