#1F8F33#1F8F33

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

Color values

HEX#1F8F33
RGBrgb(31, 143, 51)
HSLhsl(131, 64%, 34%)
HSVhsv(131, 78%, 56%)
CMYKcmyk(78.3%, 0%, 64.3%, 43.9%)
CIE-LABlab(52.03, -49.70, 39.35)
CIE-LCHlch(52.03, 63.39, 141.63°)
OKLaboklab(57.01% -0.134 0.0919)
OKLCHoklch(57.01% 0.163 145.5)
XYZxyz(10.9843, 20.1739, 6.4464)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F33 #8F1F7B
analogous
#438F1F #1F8F33 #1F8F6B
triadic
#1F8F33 #331F8F #8F331F
tetradic
#1F8F33 #1F438F #8F1F7B #8F6B1F
square
#1F8F33 #1F438F #8F1F7B #8F6B1F
split-complementary
#1F8F33 #6B1F8F #8F1F43
monochromatic
#092A0F #145D21 #1F8F33 #2AC145 #4FD968

Accessibility & contrast

On white

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

On black

5.04
#1F8F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F33
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F33#FFFFFF#000000##000000
##1F8F331.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918128
Deuteranopia (green-blind)
#85793B
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f33;
/* rgb */ color: rgb(31, 143, 51);
/* oklch */ color: oklch(57.0% 0.163 145.5);
Tailwind
colors: {
  custom: {
    50: '#6fb16e',
    500: '#1f8f33',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f33;
$custom-light: #6fb16e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f33",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 130.714,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.16251,
    "h": 145.5
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#1F8F33
secondary
#BC4EA8
accent
#40CAE7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1F8F33

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

Preview Lab → · Contrast checker → · Palette generator →

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