#1F9D3B#1F9D3B

#1F9D3B is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.0% C 0.173 H 146.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1F9D3B
RGBrgb(31, 157, 59)
HSLhsl(133, 67%, 37%)
HSVhsv(133, 80%, 62%)
CMYKcmyk(80.3%, 0%, 62.4%, 38.4%)
CIE-LABlab(56.80, -53.50, 41.05)
CIE-LCHlch(56.80, 67.44, 142.50°)
OKLaboklab(60.99% -0.144 0.0964)
OKLCHoklch(60.99% 0.173 146.2)
XYZxyz(13.4105, 24.7194, 8.2014)
Luminance0.2472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D3B #9D1F81
analogous
#429D1F #1F9D3B #1F9D7A
triadic
#1F9D3B #3B1F9D #9D3B1F
tetradic
#1F9D3B #1F429D #9D1F81 #9D7A1F
square
#1F9D3B #1F429D #9D1F81 #9D7A1F
split-complementary
#1F9D3B #7A1F9D #9D1F42
monochromatic
#0B3715 #156A28 #1F9D3B #29D04E #58DE76

Accessibility & contrast

On white

3.53
#1F9D3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#1F9D3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D3B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D3B#FFFFFF#000000##000000
##1F9D3B1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E30
Deuteranopia (green-blind)
#918543
Tritanopia (blue-blind)
#009988
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d3b;
/* rgb */ color: rgb(31, 157, 59);
/* oklch */ color: oklch(61.0% 0.173 146.2);
Tailwind
colors: {
  custom: {
    50: '#72bb75',
    500: '#1f9d3b',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d3b;
$custom-light: #72bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d3b",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 59
  },
  "hsl": {
    "h": 133.333,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60989,
    "c": 0.17328,
    "h": 146.2
  },
  "luminance": 0.24721
}

Semantic roles & 50–950 ramp

primary
#1F9D3B
secondary
#C256AA
accent
#3EC4EA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #1F9D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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