#1F9638#1F9638

#1F9638 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.0% C 0.167 H 146.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#1F9638
RGBrgb(31, 150, 56)
HSLhsl(133, 66%, 35%)
HSVhsv(133, 79%, 59%)
CMYKcmyk(79.3%, 0%, 62.7%, 41.2%)
CIE-LABlab(54.44, -51.49, 39.75)
CIE-LCHlch(54.44, 65.05, 142.33°)
OKLaboklab(59.02% -0.1387 0.0933)
OKLCHoklch(59.02% 0.167 146.1)
XYZxyz(12.1843, 22.3881, 7.4198)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9638 #961F7D
analogous
#41961F #1F9638 #1F9673
triadic
#1F9638 #381F96 #96381F
tetradic
#1F9638 #1F4196 #961F7D #96731F
square
#1F9638 #1F4196 #961F7D #96731F
split-complementary
#1F9638 #731F96 #961F41
monochromatic
#0A3112 #156325 #1F9638 #29C94B #54DC70

Accessibility & contrast

On white

3.83
#1F9638 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#1F9638 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9638
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9638#FFFFFF#000000##000000
##1F96381.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98882E
Deuteranopia (green-blind)
#8B7F40
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9638;
/* rgb */ color: rgb(31, 150, 56);
/* oklch */ color: oklch(59.0% 0.167 146.1);
Tailwind
colors: {
  custom: {
    50: '#70b672',
    500: '#1f9638',
    950: '#000000',
  },
}
SCSS
$custom: #1f9638;
$custom-light: #70b672;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9638",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 56
  },
  "hsl": {
    "h": 132.605,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59016,
    "c": 0.16715,
    "h": 146.1
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#1F9638
secondary
#BF52A8
accent
#3FC5E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9638

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

Preview Lab → · Contrast checker → · Palette generator →

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