#1F9A2C#1F9A2C

#1F9A2C is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.0% C 0.181 H 144.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#1F9A2C
RGBrgb(31, 154, 44)
HSLhsl(126, 66%, 36%)
HSVhsv(126, 80%, 60%)
CMYKcmyk(79.9%, 0%, 71.4%, 39.6%)
CIE-LABlab(55.67, -54.14, 46.33)
CIE-LCHlch(55.67, 71.25, 139.45°)
OKLaboklab(60.01% -0.1464 0.1059)
OKLCHoklch(60.01% 0.181 144.1)
XYZxyz(12.5744, 23.5829, 6.2716)
Luminance0.2358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A2C #9A1F8D
analogous
#509A1F #1F9A2C #1F9A6A
triadic
#1F9A2C #2C1F9A #9A2C1F
tetradic
#1F9A2C #1F509A #9A1F8D #9A6A1F
square
#1F9A2C #1F509A #9A1F8D #9A6A1F
split-complementary
#1F9A2C #6A1F9A #9A1F50
monochromatic
#0A340F #15671D #1F9A2C #29CD3B #56DD65

Accessibility & contrast

On white

3.67
#1F9A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#1F9A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A2C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A2C#FFFFFF#000000##000000
##1F9A2C1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1B
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9a2c;
/* rgb */ color: rgb(31, 154, 44);
/* oklch */ color: oklch(60.0% 0.181 144.1);
Tailwind
colors: {
  custom: {
    50: '#72b96b',
    500: '#1f9a2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a2c;
$custom-light: #72b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a2c",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 126.341,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.18065,
    "h": 144.1
  },
  "luminance": 0.23584
}

Semantic roles & 50–950 ramp

primary
#1F9A2C
secondary
#C154B5
accent
#3ED7E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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