#1F9B2A#1F9B2A

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

Color values

HEX#1F9B2A
RGBrgb(31, 155, 42)
HSLhsl(125, 67%, 36%)
HSVhsv(125, 80%, 61%)
CMYKcmyk(80%, 0%, 72.9%, 39.2%)
CIE-LABlab(55.99, -54.65, 47.45)
CIE-LCHlch(55.99, 72.37, 139.03°)
OKLaboklab(60.27% -0.1478 0.108)
OKLCHoklch(60.27% 0.183 143.9)
XYZxyz(12.7035, 23.8996, 6.1336)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B2A #9B1F90
analogous
#529B1F #1F9B2A #1F9B68
triadic
#1F9B2A #2A1F9B #9B2A1F
tetradic
#1F9B2A #1F529B #9B1F90 #9B681F
square
#1F9B2A #1F529B #9B1F90 #9B681F
split-complementary
#1F9B2A #681F9B #9B1F52
monochromatic
#0B350E #15681C #1F9B2A #29CE38 #57DD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9B2A#FFFFFF#000000##000000
##1F9B2A1.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)
#9E8C17
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b2a;
/* rgb */ color: rgb(31, 155, 42);
/* oklch */ color: oklch(60.3% 0.183 143.9);
Tailwind
colors: {
  custom: {
    50: '#72ba6a',
    500: '#1f9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b2a;
$custom-light: #72ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b2a",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 125.323,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.18308,
    "h": 143.9
  },
  "luminance": 0.23901
}

Semantic roles & 50–950 ramp

primary
#1F9B2A
secondary
#C155B7
accent
#3EDAEA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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