#1F6932#1F6932

#1F6932 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.113 H 148.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#1F6932
RGBrgb(31, 105, 50)
HSLhsl(135, 54%, 27%)
HSVhsv(135, 70%, 41%)
CMYKcmyk(70.5%, 0%, 52.4%, 58.8%)
CIE-LABlab(38.94, -35.62, 24.36)
CIE-LCHlch(38.94, 43.16, 145.63°)
OKLaboklab(46.16% -0.096 0.0591)
OKLCHoklch(46.16% 0.113 148.4)
XYZxyz(6.1919, 10.6241, 4.7413)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6932 #691F56
analogous
#31691F #1F6932 #1F6957
triadic
#1F6932 #321F69 #69321F
tetradic
#1F6932 #1F3169 #691F56 #69571F
square
#1F6932 #1F3169 #691F56 #69571F
split-complementary
#1F6932 #571F69 #691F31
monochromatic
#07180B #113A1C #1F6932 #2D9848 #3DC660

Accessibility & contrast

On white

6.72
#1F6932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#1F6932 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6932
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6932#FFFFFF#000000##FFFFFF
##1F69321.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602D
Deuteranopia (green-blind)
#615936
Tritanopia (blue-blind)
#02675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f6932;
/* rgb */ color: rgb(31, 105, 50);
/* oklch */ color: oklch(46.2% 0.113 148.4);
Tailwind
colors: {
  custom: {
    50: '#65956b',
    500: '#1f6932',
    950: '#000000',
  },
}
SCSS
$custom: #1f6932;
$custom-light: #65956b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6932",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 50
  },
  "hsl": {
    "h": 135.405,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46161,
    "c": 0.11278,
    "h": 148.4
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#1F6932
secondary
#9D4787
accent
#4AB8DE
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6932

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

Preview Lab → · Contrast checker → · Palette generator →

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