#1F602A#1F602A

#1F602A is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.108 H 146.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#1F602A
RGBrgb(31, 96, 42)
HSLhsl(130, 51%, 25%)
HSVhsv(130, 68%, 38%)
CMYKcmyk(67.7%, 0%, 56.3%, 62.4%)
CIE-LABlab(35.64, -33.21, 24.72)
CIE-LCHlch(35.64, 41.40, 143.33°)
OKLaboklab(43.4% -0.0897 0.0594)
OKLCHoklch(43.4% 0.108 146.5)
XYZxyz(5.1655, 8.8237, 3.6210)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F602A #601F55
analogous
#34601F #1F602A #1F604B
triadic
#1F602A #2A1F60 #602A1F
tetradic
#1F602A #1F3460 #601F55 #604B1F
square
#1F602A #1F3460 #601F55 #604B1F
split-complementary
#1F602A #4B1F60 #601F34
monochromatic
#07170A #103216 #1F602A #2E8E3E #3DBD52

Accessibility & contrast

On white

7.60
#1F602A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1F602A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F602A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F602A#FFFFFF#000000##FFFFFF
##1F602A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615725
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#0D5E54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f602a;
/* rgb */ color: rgb(31, 96, 42);
/* oklch */ color: oklch(43.4% 0.108 146.5);
Tailwind
colors: {
  custom: {
    50: '#638e65',
    500: '#1f602a',
    950: '#000000',
  },
}
SCSS
$custom: #1f602a;
$custom-light: #638e65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f602a",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 42
  },
  "hsl": {
    "h": 130.154,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.10762,
    "h": 146.5
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#1F602A
secondary
#954687
accent
#4DC3DB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #1F602A

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

Preview Lab → · Contrast checker → · Palette generator →

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