#1F602F#1F602F

#1F602F is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.5% C 0.103 H 148.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#1F602F
RGBrgb(31, 96, 47)
HSLhsl(135, 51%, 25%)
HSVhsv(135, 68%, 38%)
CMYKcmyk(67.7%, 0%, 51%, 62.4%)
CIE-LABlab(35.72, -32.37, 22.01)
CIE-LCHlch(35.72, 39.14, 145.78°)
OKLaboklab(43.49% -0.0874 0.0536)
OKLCHoklch(43.49% 0.103 148.5)
XYZxyz(5.2607, 8.8618, 4.1220)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F602F #601F50
analogous
#30601F #1F602F #1F604F
triadic
#1F602F #2F1F60 #602F1F
tetradic
#1F602F #1F3060 #601F50 #604F1F
square
#1F602F #1F3060 #601F50 #604F1F
split-complementary
#1F602F #4F1F60 #601F30
monochromatic
#07170B #103218 #1F602F #2E8E46 #3DBD5C

Accessibility & contrast

On white

7.57
#1F602F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1F602F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F602F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F602F#FFFFFF#000000##FFFFFF
##1F602F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61572B
Deuteranopia (green-blind)
#595232
Tritanopia (blue-blind)
#0A5E54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f602f;
/* rgb */ color: rgb(31, 96, 47);
/* oklch */ color: oklch(43.5% 0.103 148.5);
Tailwind
colors: {
  custom: {
    50: '#638e68',
    500: '#1f602f',
    950: '#000000',
  },
}
SCSS
$custom: #1f602f;
$custom-light: #638e68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f602f",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 47
  },
  "hsl": {
    "h": 134.769,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.10253,
    "h": 148.5
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#1F602F
secondary
#954681
accent
#4DB8DB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #1F602F

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

Preview Lab → · Contrast checker → · Palette generator →

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