#1B5331#1B5331

#1B5331 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.082 H 153.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1B5331
RGBrgb(27, 83, 49)
HSLhsl(144, 51%, 22%)
HSVhsv(144, 67%, 33%)
CMYKcmyk(67.5%, 0%, 41%, 67.5%)
CIE-LABlab(30.98, -27.13, 14.67)
CIE-LCHlch(30.98, 30.84, 151.61°)
OKLaboklab(39.56% -0.0735 0.0367)
OKLCHoklch(39.56% 0.082 153.5)
XYZxyz(4.0993, 6.6409, 3.9709)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5331 #531B3D
analogous
#21531B #1B5331 #1B534D
triadic
#1B5331 #311B53 #53311B
tetradic
#1B5331 #1B2153 #531B3D #534D1B
square
#1B5331 #1B2153 #531B3D #534D1B
split-complementary
#1B5331 #4D1B53 #531B21
monochromatic
#08170E #0C2516 #1B5331 #2A814C #39AF68

Accessibility & contrast

On white

9.02
#1B5331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1B5331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5331
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5331#FFFFFF#000000##FFFFFF
##1B53311.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#4C4733
Tritanopia (blue-blind)
#05524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b5331;
/* rgb */ color: rgb(27, 83, 49);
/* oklch */ color: oklch(39.6% 0.082 153.5);
Tailwind
colors: {
  custom: {
    50: '#5e8469',
    500: '#1b5331',
    950: '#000000',
  },
}
SCSS
$custom: #1b5331;
$custom-light: #5e8469;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5331",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 143.571,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39563,
    "c": 0.08211,
    "h": 153.5
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#1B5331
secondary
#89416D
accent
#4DA3DA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1B5331

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

Preview Lab → · Contrast checker → · Palette generator →

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