#1B502E#1B502E

#1B502E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.081 H 152.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1B502E
RGBrgb(27, 80, 46)
HSLhsl(142, 50%, 21%)
HSVhsv(142, 66%, 31%)
CMYKcmyk(66.3%, 0%, 42.5%, 68.6%)
CIE-LABlab(29.83, -26.37, 14.98)
CIE-LCHlch(29.83, 30.33, 150.40°)
OKLaboklab(38.6% -0.0714 0.0373)
OKLCHoklch(38.6% 0.081 152.4)
XYZxyz(3.8135, 6.1672, 3.5737)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B502E #501B3D
analogous
#22501B #1B502E #1B5048
triadic
#1B502E #2E1B50 #502E1B
tetradic
#1B502E #1B2250 #501B3D #50481B
square
#1B502E #1B2250 #501B3D #50481B
split-complementary
#1B502E #481B50 #501B22
monochromatic
#08170D #0C2214 #1B502E #2A7E48 #3AAC63

Accessibility & contrast

On white

9.40
#1B502E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B502E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B502E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B502E#FFFFFF#000000##FFFFFF
##1B502E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#494430
Tritanopia (blue-blind)
#094F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b502e;
/* rgb */ color: rgb(27, 80, 46);
/* oklch */ color: oklch(38.6% 0.081 152.4);
Tailwind
colors: {
  custom: {
    50: '#5e8167',
    500: '#1b502e',
    950: '#000000',
  },
}
SCSS
$custom: #1b502e;
$custom-light: #5e8167;
$custom-dark: #000000;
JSON
{
  "hex": "#1b502e",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 141.509,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38604,
    "c": 0.08056,
    "h": 152.4
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#1B502E
secondary
#86416D
accent
#4FA7D9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1B502E

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

Preview Lab → · Contrast checker → · Palette generator →

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