#1F9B2D#1F9B2D

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

Color values

HEX#1F9B2D
RGBrgb(31, 155, 45)
HSLhsl(127, 67%, 36%)
HSVhsv(127, 80%, 61%)
CMYKcmyk(80%, 0%, 71%, 39.2%)
CIE-LABlab(56.01, -54.37, 46.28)
CIE-LCHlch(56.01, 71.40, 139.59°)
OKLaboklab(60.29% -0.1469 0.1059)
OKLCHoklch(60.29% 0.181 144.2)
XYZxyz(12.7592, 23.9219, 6.4271)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B2D #9B1F8D
analogous
#4F9B1F #1F9B2D #1F9B6B
triadic
#1F9B2D #2D1F9B #9B2D1F
tetradic
#1F9B2D #1F4F9B #9B1F8D #9B6B1F
square
#1F9B2D #1F4F9B #9B1F8D #9B6B1F
split-complementary
#1F9B2D #6B1F9B #9B1F4F
monochromatic
#0B350F #15681E #1F9B2D #29CE3C #57DD66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9B2D#FFFFFF#000000##000000
##1F9B2D1.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)
#9E8C1C
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b2d;
/* rgb */ color: rgb(31, 155, 45);
/* oklch */ color: oklch(60.3% 0.181 144.2);
Tailwind
colors: {
  custom: {
    50: '#72ba6c',
    500: '#1f9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b2d;
$custom-light: #72ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b2d",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 126.774,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.18114,
    "h": 144.2
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#1F9B2D
secondary
#C155B5
accent
#3ED6EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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