#1F6213#1F6213

#1F6213 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.129 H 141.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#1F6213
RGBrgb(31, 98, 19)
HSLhsl(111, 68%, 23%)
HSVhsv(111, 81%, 38%)
CMYKcmyk(68.4%, 0%, 80.6%, 61.6%)
CIE-LABlab(36.12, -36.71, 36.23)
CIE-LCHlch(36.12, 51.57, 135.38°)
OKLaboklab(43.73% -0.1004 0.0813)
OKLCHoklch(43.73% 0.129 141)
XYZxyz(5.0500, 9.0732, 2.1011)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6213 #561362
analogous
#466213 #1F6213 #13622E
triadic
#1F6213 #131F62 #62131F
tetradic
#1F6213 #134662 #561362 #622E13
square
#1F6213 #134662 #561362 #622E13
split-complementary
#1F6213 #2E1362 #621346
monochromatic
#081A05 #0F2F09 #1F6213 #2F951D #3FC927

Accessibility & contrast

On white

7.46
#1F6213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1F6213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6213
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6213#FFFFFF#000000##FFFFFF
##1F62131.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655803
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#135F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f6213;
/* rgb */ color: rgb(31, 98, 19);
/* oklch */ color: oklch(43.7% 0.129 141.0);
Tailwind
colors: {
  custom: {
    50: '#658f57',
    500: '#1f6213',
    950: '#000000',
  },
}
SCSS
$custom: #1f6213;
$custom-light: #658f57;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6213",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 110.886,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43726,
    "c": 0.1292,
    "h": 141
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#1F6213
secondary
#8B379A
accent
#3DEAD0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F6213

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

Preview Lab → · Contrast checker → · Palette generator →

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