#1B5231#1B5231

#1B5231 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.081 H 153.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#1B5231
RGBrgb(27, 82, 49)
HSLhsl(144, 50%, 21%)
HSVhsv(144, 67%, 32%)
CMYKcmyk(67.1%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.61, -26.67, 14.19)
CIE-LCHlch(30.61, 30.21, 151.99°)
OKLaboklab(39.27% -0.0722 0.0355)
OKLCHoklch(39.27% 0.081 153.8)
XYZxyz(4.0233, 6.4889, 3.9456)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5231 #521B3C
analogous
#21521B #1B5231 #1B524D
triadic
#1B5231 #311B52 #52311B
tetradic
#1B5231 #1B2152 #521B3C #524D1B
square
#1B5231 #1B2152 #521B3C #524D1B
split-complementary
#1B5231 #4D1B52 #521B21
monochromatic
#08170E #0C2415 #1B5231 #2A804D #39AE68

Accessibility & contrast

On white

9.14
#1B5231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B5231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5231
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5231#FFFFFF#000000##FFFFFF
##1B52311.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4B4633
Tritanopia (blue-blind)
#06514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b5231;
/* rgb */ color: rgb(27, 82, 49);
/* oklch */ color: oklch(39.3% 0.081 153.8);
Tailwind
colors: {
  custom: {
    50: '#5e8369',
    500: '#1b5231',
    950: '#000000',
  },
}
SCSS
$custom: #1b5231;
$custom-light: #5e8369;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5231",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 144,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.0805,
    "h": 153.8
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#1B5231
secondary
#88416B
accent
#4EA2DA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1B5231

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

Preview Lab → · Contrast checker → · Palette generator →

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