#1B5935#1B5935

#1B5935 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.087 H 154.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1B5935
RGBrgb(27, 89, 53)
HSLhsl(145, 53%, 23%)
HSVhsv(145, 70%, 35%)
CMYKcmyk(69.7%, 0%, 40.4%, 65.1%)
CIE-LABlab(33.21, -29.02, 15.21)
CIE-LCHlch(33.21, 32.77, 152.34°)
OKLaboklab(41.43% -0.0785 0.038)
OKLCHoklch(41.43% 0.087 154.2)
XYZxyz(4.6666, 7.6343, 4.5951)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5935 #591B3F
analogous
#20591B #1B5935 #1B5954
triadic
#1B5935 #351B59 #59351B
tetradic
#1B5935 #1B2059 #591B3F #59541B
square
#1B5935 #1B2059 #591B3F #59541B
split-complementary
#1B5935 #541B59 #591B20
monochromatic
#07170E #0D2A19 #1B5935 #298851 #37B76D

Accessibility & contrast

On white

8.31
#1B5935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B5935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5935
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5935#FFFFFF#000000##FFFFFF
##1B59351.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595233
Deuteranopia (green-blind)
#514C37
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5935;
/* rgb */ color: rgb(27, 89, 53);
/* oklch */ color: oklch(41.4% 0.087 154.2);
Tailwind
colors: {
  custom: {
    50: '#60886c',
    500: '#1b5935',
    950: '#000000',
  },
}
SCSS
$custom: #1b5935;
$custom-light: #60886c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5935",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 53
  },
  "hsl": {
    "h": 145.161,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41425,
    "c": 0.08727,
    "h": 154.2
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#1B5935
secondary
#8F416E
accent
#4BA0DD
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1B5935

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

Preview Lab → · Contrast checker → · Palette generator →

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