#1F8A33#1F8A33

#1F8A33 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.156 H 145.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F8A33
RGBrgb(31, 138, 51)
HSLhsl(131, 63%, 33%)
HSVhsv(131, 78%, 54%)
CMYKcmyk(77.5%, 0%, 63%, 45.9%)
CIE-LABlab(50.34, -47.96, 37.43)
CIE-LCHlch(50.34, 60.84, 142.03°)
OKLaboklab(55.6% -0.1293 0.0878)
OKLCHoklch(55.6% 0.156 145.8)
XYZxyz(10.2504, 18.7061, 6.2017)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A33 #8A1F76
analogous
#408A1F #1F8A33 #1F8A68
triadic
#1F8A33 #331F8A #8A331F
tetradic
#1F8A33 #1F408A #8A1F76 #8A681F
square
#1F8A33 #1F408A #8A1F76 #8A681F
split-complementary
#1F8A33 #681F8A #8A1F40
monochromatic
#09260E #145821 #1F8A33 #2ABC45 #4CD766

Accessibility & contrast

On white

4.43
#1F8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#1F8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A33
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A33#FFFFFF#000000##000000
##1F8A331.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D29
Deuteranopia (green-blind)
#80753A
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a33;
/* rgb */ color: rgb(31, 138, 51);
/* oklch */ color: oklch(55.6% 0.156 145.8);
Tailwind
colors: {
  custom: {
    50: '#6dad6e',
    500: '#1f8a33',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a33;
$custom-light: #6dad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a33",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 131.215,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55602,
    "c": 0.1563,
    "h": 145.8
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#1F8A33
secondary
#BA4BA5
accent
#41C8E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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