#1F8A32#1F8A32

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

Color values

HEX#1F8A32
RGBrgb(31, 138, 50)
HSLhsl(131, 63%, 33%)
HSVhsv(131, 78%, 54%)
CMYKcmyk(77.5%, 0%, 63.8%, 45.9%)
CIE-LABlab(50.33, -48.08, 37.89)
CIE-LCHlch(50.33, 61.22, 141.76°)
OKLaboklab(55.59% -0.1296 0.0887)
OKLCHoklch(55.59% 0.157 145.6)
XYZxyz(10.2285, 18.6974, 6.0869)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A32 #8A1F77
analogous
#418A1F #1F8A32 #1F8A67
triadic
#1F8A32 #321F8A #8A321F
tetradic
#1F8A32 #1F418A #8A1F77 #8A671F
square
#1F8A32 #1F418A #8A1F77 #8A671F
split-complementary
#1F8A32 #671F8A #8A1F41
monochromatic
#09260E #145820 #1F8A32 #2ABC44 #4CD765

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A32#FFFFFF#000000##000000
##1F8A321.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)
#8C7D28
Deuteranopia (green-blind)
#80753A
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a32;
/* rgb */ color: rgb(31, 138, 50);
/* oklch */ color: oklch(55.6% 0.157 145.6);
Tailwind
colors: {
  custom: {
    50: '#6dad6d',
    500: '#1f8a32',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a32;
$custom-light: #6dad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a32",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 130.654,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.15711,
    "h": 145.6
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#1F8A32
secondary
#BA4BA6
accent
#41C9E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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