#1B4D30#1B4D30

#1B4D30 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.073 H 155.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1B4D30
RGBrgb(27, 77, 48)
HSLhsl(145, 48%, 20%)
HSVhsv(145, 65%, 30%)
CMYKcmyk(64.9%, 0%, 37.7%, 69.8%)
CIE-LABlab(28.78, -24.51, 12.35)
CIE-LCHlch(28.78, 27.44, 153.26°)
OKLaboklab(37.76% -0.0666 0.0311)
OKLCHoklch(37.76% 0.073 155)
XYZxyz(3.6391, 5.7538, 3.7146)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D30 #4D1B38
analogous
#1F4D1B #1B4D30 #1B4D49
triadic
#1B4D30 #301B4D #4D301B
tetradic
#1B4D30 #1B1F4D #4D1B38 #4D491B
square
#1B4D30 #1B1F4D #4D1B38 #4D491B
split-complementary
#1B4D30 #491B4D #4D1B1F
monochromatic
#08170E #0B2014 #1B4D30 #2B7A4C #3BA868

Accessibility & contrast

On white

9.76
#1B4D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B4D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D30
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D30#FFFFFF#000000##FFFFFF
##1B4D301.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472E
Deuteranopia (green-blind)
#464232
Tritanopia (blue-blind)
#094C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4d30;
/* rgb */ color: rgb(27, 77, 48);
/* oklch */ color: oklch(37.8% 0.073 155.0);
Tailwind
colors: {
  custom: {
    50: '#5d7f68',
    500: '#1b4d30',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d30;
$custom-light: #5d7f68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d30",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 48
  },
  "hsl": {
    "h": 145.2,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.07347,
    "h": 155
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#1B4D30
secondary
#834167
accent
#509FD8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1B4D30

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

Preview Lab → · Contrast checker → · Palette generator →

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