#1F9B2C#1F9B2C

#1F9B2C is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.3% C 0.182 H 144.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#1F9B2C
RGBrgb(31, 155, 44)
HSLhsl(126, 67%, 36%)
HSVhsv(126, 80%, 61%)
CMYKcmyk(80%, 0%, 71.6%, 39.2%)
CIE-LABlab(56.00, -54.47, 46.68)
CIE-LCHlch(56.00, 71.73, 139.40°)
OKLaboklab(60.28% -0.1472 0.1066)
OKLCHoklch(60.28% 0.182 144.1)
XYZxyz(12.7402, 23.9143, 6.3269)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B2C #9B1F8E
analogous
#509B1F #1F9B2C #1F9B6A
triadic
#1F9B2C #2C1F9B #9B2C1F
tetradic
#1F9B2C #1F509B #9B1F8E #9B6A1F
square
#1F9B2C #1F509B #9B1F8E #9B6A1F
split-complementary
#1F9B2C #6A1F9B #9B1F50
monochromatic
#0B350F #15681E #1F9B2C #29CE3A #57DD65

Accessibility & contrast

On white

3.63
#1F9B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#1F9B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B2C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B2C#FFFFFF#000000##000000
##1F9B2C1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1B
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b2c;
/* rgb */ color: rgb(31, 155, 44);
/* oklch */ color: oklch(60.3% 0.182 144.1);
Tailwind
colors: {
  custom: {
    50: '#72ba6c',
    500: '#1f9b2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b2c;
$custom-light: #72ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b2c",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 126.29,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.1818,
    "h": 144.1
  },
  "luminance": 0.23916
}

Semantic roles & 50–950 ramp

primary
#1F9B2C
secondary
#C155B6
accent
#3ED8EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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