#1F991B#1F991B

#1F991B is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.6% C 0.189 H 142.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F991B
RGBrgb(31, 153, 27)
HSLhsl(118, 70%, 35%)
HSVhsv(118, 82%, 60%)
CMYKcmyk(79.7%, 0%, 82.4%, 40%)
CIE-LABlab(55.23, -55.12, 51.84)
CIE-LCHlch(55.23, 75.67, 136.76°)
OKLaboklab(59.61% -0.1498 0.1151)
OKLCHoklch(59.61% 0.189 142.5)
XYZxyz(12.1534, 23.1515, 4.8649)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F991B #951B99
analogous
#5E991B #1F991B #1B9956
triadic
#1F991B #1B1F99 #991B1F
tetradic
#1F991B #1B5E99 #951B99 #99561B
square
#1F991B #1B5E99 #951B99 #99561B
split-complementary
#1F991B #561B99 #991B5E
monochromatic
#0A3109 #146512 #1F991B #2ACD24 #53E04F

Accessibility & contrast

On white

3.73
#1F991B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#1F991B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F991B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F991B#FFFFFF#000000##000000
##1F991B1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f991b;
/* rgb */ color: rgb(31, 153, 27);
/* oklch */ color: oklch(59.6% 0.189 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b863',
    500: '#1f991b',
    950: '#000000',
  },
}
SCSS
$custom: #1f991b;
$custom-light: #72b863;
$custom-dark: #000000;
JSON
{
  "hex": "#1f991b",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 118.095,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.18889,
    "h": 142.5
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#1F991B
secondary
#BF4EC2
accent
#3BEDE7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F991B

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

Preview Lab → · Contrast checker → · Palette generator →

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