#1F9B2F#1F9B2F

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

Color values

HEX#1F9B2F
RGBrgb(31, 155, 47)
HSLhsl(128, 67%, 36%)
HSVhsv(128, 80%, 61%)
CMYKcmyk(80%, 0%, 69.7%, 39.2%)
CIE-LABlab(56.03, -54.18, 45.48)
CIE-LCHlch(56.03, 70.74, 139.99°)
OKLaboklab(60.31% -0.1463 0.1045)
OKLCHoklch(60.31% 0.18 144.5)
XYZxyz(12.7986, 23.9377, 6.6347)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B2F #9B1F8B
analogous
#4D9B1F #1F9B2F #1F9B6D
triadic
#1F9B2F #2F1F9B #9B2F1F
tetradic
#1F9B2F #1F4D9B #9B1F8B #9B6D1F
square
#1F9B2F #1F4D9B #9B1F8B #9B6D1F
split-complementary
#1F9B2F #6D1F9B #9B1F4D
monochromatic
#0B3510 #156820 #1F9B2F #29CE3E #57DD68

Accessibility & contrast

On white

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

On black

5.79
#1F9B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B2F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B2F#FFFFFF#000000##000000
##1F9B2F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9b2f;
/* rgb */ color: rgb(31, 155, 47);
/* oklch */ color: oklch(60.3% 0.180 144.5);
Tailwind
colors: {
  custom: {
    50: '#72ba6d',
    500: '#1f9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b2f;
$custom-light: #72ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b2f",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 127.742,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.1798,
    "h": 144.5
  },
  "luminance": 0.23939
}

Semantic roles & 50–950 ramp

primary
#1F9B2F
secondary
#C155B3
accent
#3ED3EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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