#1F9338#1F9338

#1F9338 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.163 H 146.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1F9338
RGBrgb(31, 147, 56)
HSLhsl(133, 65%, 35%)
HSVhsv(133, 79%, 58%)
CMYKcmyk(78.9%, 0%, 61.9%, 42.4%)
CIE-LABlab(53.43, -50.46, 38.60)
CIE-LCHlch(53.43, 63.53, 142.59°)
OKLaboklab(58.18% -0.1359 0.0908)
OKLCHoklch(58.18% 0.163 146.2)
XYZxyz(11.7117, 21.4429, 7.2623)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9338 #931F7A
analogous
#40931F #1F9338 #1F9372
triadic
#1F9338 #381F93 #93381F
tetradic
#1F9338 #1F4093 #931F7A #93721F
square
#1F9338 #1F4093 #931F7A #93721F
split-complementary
#1F9338 #721F93 #931F40
monochromatic
#0A2E11 #146025 #1F9338 #2AC64B #52DA6F

Accessibility & contrast

On white

3.97
#1F9338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#1F9338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9338
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9338#FFFFFF#000000##000000
##1F93381.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852E
Deuteranopia (green-blind)
#887C40
Tritanopia (blue-blind)
#008F7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9338;
/* rgb */ color: rgb(31, 147, 56);
/* oklch */ color: oklch(58.2% 0.163 146.2);
Tailwind
colors: {
  custom: {
    50: '#6fb472',
    500: '#1f9338',
    950: '#000000',
  },
}
SCSS
$custom: #1f9338;
$custom-light: #6fb472;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9338",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 56
  },
  "hsl": {
    "h": 132.931,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.16345,
    "h": 146.2
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#1F9338
secondary
#BE50A6
accent
#40C4E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9338

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

Preview Lab → · Contrast checker → · Palette generator →

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