#1F8B33#1F8B33

#1F8B33 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.158 H 145.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8B33
RGBrgb(31, 139, 51)
HSLhsl(131, 64%, 33%)
HSVhsv(131, 78%, 55%)
CMYKcmyk(77.7%, 0%, 63.3%, 45.5%)
CIE-LABlab(50.68, -48.31, 37.82)
CIE-LCHlch(50.68, 61.35, 141.95°)
OKLaboklab(55.88% -0.1302 0.0887)
OKLCHoklch(55.88% 0.158 145.8)
XYZxyz(10.3945, 18.9943, 6.2498)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B33 #8B1F77
analogous
#418B1F #1F8B33 #1F8B69
triadic
#1F8B33 #331F8B #8B331F
tetradic
#1F8B33 #1F418B #8B1F77 #8B691F
square
#1F8B33 #1F418B #8B1F77 #8B691F
split-complementary
#1F8B33 #691F8B #8B1F41
monochromatic
#09270E #145921 #1F8B33 #2ABD45 #4DD767

Accessibility & contrast

On white

4.38
#1F8B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1F8B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B33
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B33#FFFFFF#000000##000000
##1F8B331.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E29
Deuteranopia (green-blind)
#81753A
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b33;
/* rgb */ color: rgb(31, 139, 51);
/* oklch */ color: oklch(55.9% 0.158 145.8);
Tailwind
colors: {
  custom: {
    50: '#6eae6e',
    500: '#1f8b33',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b33;
$custom-light: #6eae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b33",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 51
  },
  "hsl": {
    "h": 131.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.15755,
    "h": 145.8
  },
  "luminance": 0.18996
}

Semantic roles & 50–950 ramp

primary
#1F8B33
secondary
#BA4CA6
accent
#41C8E7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8B33

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

Preview Lab → · Contrast checker → · Palette generator →

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