#1F8D33#1F8D33

#1F8D33 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.160 H 145.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8D33
RGBrgb(31, 141, 51)
HSLhsl(131, 64%, 34%)
HSVhsv(131, 78%, 55%)
CMYKcmyk(78%, 0%, 63.8%, 44.7%)
CIE-LABlab(51.36, -49.01, 38.59)
CIE-LCHlch(51.36, 62.38, 141.79°)
OKLaboklab(56.45% -0.1321 0.0903)
OKLCHoklch(56.45% 0.16 145.6)
XYZxyz(10.6867, 19.5788, 6.3472)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D33 #8D1F79
analogous
#428D1F #1F8D33 #1F8D6A
triadic
#1F8D33 #331F8D #8D331F
tetradic
#1F8D33 #1F428D #8D1F79 #8D6A1F
square
#1F8D33 #1F428D #8D1F79 #8D6A1F
split-complementary
#1F8D33 #6A1F8D #8D1F42
monochromatic
#09290F #145B21 #1F8D33 #2ABF45 #4ED867

Accessibility & contrast

On white

4.27
#1F8D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#1F8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D33
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D33#FFFFFF#000000##000000
##1F8D331.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8029
Deuteranopia (green-blind)
#83773B
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d33;
/* rgb */ color: rgb(31, 141, 51);
/* oklch */ color: oklch(56.4% 0.160 145.6);
Tailwind
colors: {
  custom: {
    50: '#6eaf6e',
    500: '#1f8d33',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d33;
$custom-light: #6eaf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d33",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 130.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.16004,
    "h": 145.6
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#1F8D33
secondary
#BB4DA7
accent
#41C9E7
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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