#1F8F32#1F8F32

#1F8F32 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.163 H 145.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F8F32
RGBrgb(31, 143, 50)
HSLhsl(130, 64%, 34%)
HSVhsv(130, 78%, 56%)
CMYKcmyk(78.3%, 0%, 65%, 43.9%)
CIE-LABlab(52.02, -49.82, 39.80)
CIE-LCHlch(52.02, 63.76, 141.38°)
OKLaboklab(56.99% -0.1344 0.0928)
OKLCHoklch(56.99% 0.163 145.4)
XYZxyz(10.9625, 20.1652, 6.3315)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F32 #8F1F7C
analogous
#448F1F #1F8F32 #1F8F6A
triadic
#1F8F32 #321F8F #8F321F
tetradic
#1F8F32 #1F448F #8F1F7C #8F6A1F
square
#1F8F32 #1F448F #8F1F7C #8F6A1F
split-complementary
#1F8F32 #6A1F8F #8F1F44
monochromatic
#092A0F #145D20 #1F8F32 #2AC144 #4FD967

Accessibility & contrast

On white

4.17
#1F8F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#1F8F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F32
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F32#FFFFFF#000000##000000
##1F8F321.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#85793A
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f32;
/* rgb */ color: rgb(31, 143, 50);
/* oklch */ color: oklch(57.0% 0.163 145.4);
Tailwind
colors: {
  custom: {
    50: '#6fb16e',
    500: '#1f8f32',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f32;
$custom-light: #6fb16e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f32",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 130.179,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.1633,
    "h": 145.4
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#1F8F32
secondary
#BC4EA9
accent
#40CBE7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1F8F32

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

Preview Lab → · Contrast checker → · Palette generator →

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