#1B5928#1B5928

#1B5928 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.101 H 147.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1B5928
RGBrgb(27, 89, 40)
HSLhsl(133, 53%, 23%)
HSVhsv(133, 70%, 35%)
CMYKcmyk(69.7%, 0%, 55.1%, 65.1%)
CIE-LABlab(32.99, -31.52, 22.56)
CIE-LCHlch(32.99, 38.76, 144.41°)
OKLaboklab(41.17% -0.0851 0.0545)
OKLCHoklch(41.17% 0.101 147.4)
XYZxyz(4.4071, 7.5305, 3.2284)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5928 #591B4C
analogous
#2D591B #1B5928 #1B5947
triadic
#1B5928 #281B59 #59281B
tetradic
#1B5928 #1B2D59 #591B4C #59471B
square
#1B5928 #1B2D59 #591B4C #59471B
split-complementary
#1B5928 #471B59 #591B2D
monochromatic
#07170B #0D2A13 #1B5928 #29883D #37B752

Accessibility & contrast

On white

8.38
#1B5928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B5928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5928
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5928#FFFFFF#000000##FFFFFF
##1B59281.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#08574E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5928;
/* rgb */ color: rgb(27, 89, 40);
/* oklch */ color: oklch(41.2% 0.101 147.4);
Tailwind
colors: {
  custom: {
    50: '#608863',
    500: '#1b5928',
    950: '#000000',
  },
}
SCSS
$custom: #1b5928;
$custom-light: #608863;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5928",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 40
  },
  "hsl": {
    "h": 132.581,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.10103,
    "h": 147.4
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#1B5928
secondary
#8F417E
accent
#4BBEDD
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #1B5928

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

Preview Lab → · Contrast checker → · Palette generator →

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