#1B472D#1B472D

#1B472D is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.9% C 0.067 H 155.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1B472D
RGBrgb(27, 71, 45)
HSLhsl(145, 45%, 19%)
HSVhsv(145, 62%, 28%)
CMYKcmyk(62%, 0%, 36.6%, 72.2%)
CIE-LABlab(26.53, -22.23, 11.19)
CIE-LCHlch(26.53, 24.89, 153.29°)
OKLaboklab(35.89% -0.0605 0.0282)
OKLCHoklch(35.89% 0.067 155)
XYZxyz(3.1786, 4.9287, 3.2659)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B472D #471B35
analogous
#1F471B #1B472D #1B4743
triadic
#1B472D #2D1B47 #472D1B
tetradic
#1B472D #1B1F47 #471B35 #47431B
square
#1B472D #1B1F47 #471B35 #47431B
split-complementary
#1B472D #431B47 #471B1F
monochromatic
#08160E #0A1B11 #1B472D #2C7349 #3DA065

Accessibility & contrast

On white

10.58
#1B472D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B472D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B472D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B472D#FFFFFF#000000##FFFFFF
##1B472D1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47412B
Deuteranopia (green-blind)
#413D2F
Tritanopia (blue-blind)
#0E4640
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b472d;
/* rgb */ color: rgb(27, 71, 45);
/* oklch */ color: oklch(35.9% 0.067 155.0);
Tailwind
colors: {
  custom: {
    50: '#5c7a66',
    500: '#1b472d',
    950: '#000000',
  },
}
SCSS
$custom: #1b472d;
$custom-light: #5c7a66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b472d",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 45
  },
  "hsl": {
    "h": 144.545,
    "s": 44.898,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.06676,
    "h": 155
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#1B472D
secondary
#7D4164
accent
#53A0D5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #1B472D

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

Preview Lab → · Contrast checker → · Palette generator →

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