#1F6331#1F6331

#1F6331 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.105 H 148.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#1F6331
RGBrgb(31, 99, 49)
HSLhsl(136, 52%, 25%)
HSVhsv(136, 69%, 39%)
CMYKcmyk(68.7%, 0%, 50.5%, 61.2%)
CIE-LABlab(36.81, -33.29, 22.25)
CIE-LCHlch(36.81, 40.05, 146.24°)
OKLaboklab(44.4% -0.0898 0.0543)
OKLCHoklch(44.4% 0.105 148.9)
XYZxyz(5.5809, 9.4362, 4.4324)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6331 #631F51
analogous
#2F631F #1F6331 #1F6353
triadic
#1F6331 #311F63 #63311F
tetradic
#1F6331 #1F2F63 #631F51 #63531F
square
#1F6331 #1F2F63 #631F51 #63531F
split-complementary
#1F6331 #531F63 #631F2F
monochromatic
#07170C #10341A #1F6331 #2E9248 #3CC05F

Accessibility & contrast

On white

7.27
#1F6331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F6331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6331
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6331#FFFFFF#000000##FFFFFF
##1F63311.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#5B5434
Tritanopia (blue-blind)
#076157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6331;
/* rgb */ color: rgb(31, 99, 49);
/* oklch */ color: oklch(44.4% 0.105 148.9);
Tailwind
colors: {
  custom: {
    50: '#64906a',
    500: '#1f6331',
    950: '#000000',
  },
}
SCSS
$custom: #1f6331;
$custom-light: #64906a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6331",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 135.882,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.444,
    "c": 0.10496,
    "h": 148.9
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#1F6331
secondary
#984682
accent
#4CB6DC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #1F6331

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

Preview Lab → · Contrast checker → · Palette generator →

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