#1F9E2B#1F9E2B

#1F9E2B is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.186 H 143.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1F9E2B
RGBrgb(31, 158, 43)
HSLhsl(126, 67%, 37%)
HSVhsv(126, 80%, 62%)
CMYKcmyk(80.4%, 0%, 72.8%, 38%)
CIE-LABlab(57.00, -55.53, 48.10)
CIE-LCHlch(57.00, 73.47, 139.10°)
OKLaboklab(61.11% -0.1502 0.1095)
OKLCHoklch(61.11% 0.186 143.9)
XYZxyz(13.2271, 24.9178, 6.3975)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E2B #9E1F92
analogous
#539E1F #1F9E2B #1F9E6A
triadic
#1F9E2B #2B1F9E #9E2B1F
tetradic
#1F9E2B #1F539E #9E1F92 #9E6A1F
square
#1F9E2B #1F539E #9E1F92 #9E6A1F
split-complementary
#1F9E2B #6A1F9E #9E1F53
monochromatic
#0B380F #156B1D #1F9E2B #29D139 #59DE66

Accessibility & contrast

On white

3.51
#1F9E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#1F9E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E2B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E2B#FFFFFF#000000##000000
##1F9E2B1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F18
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e2b;
/* rgb */ color: rgb(31, 158, 43);
/* oklch */ color: oklch(61.1% 0.186 143.9);
Tailwind
colors: {
  custom: {
    50: '#73bc6b',
    500: '#1f9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e2b;
$custom-light: #73bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e2b",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 125.669,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.18585,
    "h": 143.9
  },
  "luminance": 0.24919
}

Semantic roles & 50–950 ramp

primary
#1F9E2B
secondary
#C256B8
accent
#3EDAEA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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