#1B5938#1B5938

#1B5938 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.084 H 156.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#1B5938
RGBrgb(27, 89, 56)
HSLhsl(148, 53%, 23%)
HSVhsv(148, 70%, 35%)
CMYKcmyk(69.7%, 0%, 37.1%, 65.1%)
CIE-LABlab(33.27, -28.36, 13.47)
CIE-LCHlch(33.27, 31.40, 154.59°)
OKLaboklab(41.5% -0.0769 0.0339)
OKLCHoklch(41.5% 0.084 156.2)
XYZxyz(4.7378, 7.6628, 4.9700)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5938 #591B3C
analogous
#1D591B #1B5938 #1B5957
triadic
#1B5938 #381B59 #59381B
tetradic
#1B5938 #1B1D59 #591B3C #59571B
square
#1B5938 #1B1D59 #591B3C #59571B
split-complementary
#1B5938 #571B59 #591B1D
monochromatic
#07170F #0D2A1A #1B5938 #298856 #37B773

Accessibility & contrast

On white

8.29
#1B5938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5938
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5938#FFFFFF#000000##FFFFFF
##1B59381.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585236
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5938;
/* rgb */ color: rgb(27, 89, 56);
/* oklch */ color: oklch(41.5% 0.084 156.2);
Tailwind
colors: {
  custom: {
    50: '#60886e',
    500: '#1b5938',
    950: '#000000',
  },
}
SCSS
$custom: #1b5938;
$custom-light: #60886e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5938",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 56
  },
  "hsl": {
    "h": 148.065,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.08409,
    "h": 156.2
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#1B5938
secondary
#8F416A
accent
#4B99DD
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1B5938

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

Preview Lab → · Contrast checker → · Palette generator →

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