#1F6535#1F6535

#1F6535 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.104 H 150.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#1F6535
RGBrgb(31, 101, 53)
HSLhsl(139, 53%, 26%)
HSVhsv(139, 69%, 40%)
CMYKcmyk(69.3%, 0%, 47.5%, 60.4%)
CIE-LABlab(37.58, -33.42, 20.95)
CIE-LCHlch(37.58, 39.44, 147.92°)
OKLaboklab(45.06% -0.0901 0.0515)
OKLCHoklch(45.06% 0.104 150.3)
XYZxyz(5.8609, 9.8551, 4.9608)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6535 #651F4F
analogous
#2C651F #1F6535 #1F6558
triadic
#1F6535 #351F65 #65351F
tetradic
#1F6535 #1F2C65 #651F4F #65581F
square
#1F6535 #1F2C65 #651F4F #65581F
split-complementary
#1F6535 #581F65 #651F2C
monochromatic
#07170C #11361C #1F6535 #2D944E #3CC366

Accessibility & contrast

On white

7.07
#1F6535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1F6535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6535
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6535#FFFFFF#000000##FFFFFF
##1F65351.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C31
Deuteranopia (green-blind)
#5D5638
Tritanopia (blue-blind)
#036359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f6535;
/* rgb */ color: rgb(31, 101, 53);
/* oklch */ color: oklch(45.1% 0.104 150.3);
Tailwind
colors: {
  custom: {
    50: '#64926d',
    500: '#1f6535',
    950: '#000000',
  },
}
SCSS
$custom: #1f6535;
$custom-light: #64926d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6535",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 53
  },
  "hsl": {
    "h": 138.857,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45056,
    "c": 0.10381,
    "h": 150.3
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#1F6535
secondary
#99467F
accent
#4BAFDC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1F6535

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

Preview Lab → · Contrast checker → · Palette generator →

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