#1B472F#1B472F

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

Color values

HEX#1B472F
RGBrgb(27, 71, 47)
HSLhsl(147, 45%, 19%)
HSVhsv(147, 62%, 28%)
CMYKcmyk(62%, 0%, 33.8%, 72.2%)
CIE-LABlab(26.58, -21.76, 9.98)
CIE-LCHlch(26.58, 23.94, 155.37°)
OKLaboklab(35.94% -0.0594 0.0253)
OKLCHoklch(35.94% 0.065 156.9)
XYZxyz(3.2181, 4.9444, 3.4736)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B472F #471B33
analogous
#1D471B #1B472F #1B4745
triadic
#1B472F #2F1B47 #472F1B
tetradic
#1B472F #1B1D47 #471B33 #47451B
square
#1B472F #1B1D47 #471B33 #47451B
split-complementary
#1B472F #451B47 #471B1D
monochromatic
#08160F #0A1B12 #1B472F #2C734C #3DA06A

Accessibility & contrast

On white

10.56
#1B472F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B472F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B472F#FFFFFF#000000##FFFFFF
##1B472F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47412E
Deuteranopia (green-blind)
#403D30
Tritanopia (blue-blind)
#0C4641
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b472f;
/* rgb */ color: rgb(27, 71, 47);
/* oklch */ color: oklch(35.9% 0.065 156.9);
Tailwind
colors: {
  custom: {
    50: '#5c7a67',
    500: '#1b472f',
    950: '#000000',
  },
}
SCSS
$custom: #1b472f;
$custom-light: #5c7a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b472f",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 47
  },
  "hsl": {
    "h": 147.273,
    "s": 44.898,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35944,
    "c": 0.06456,
    "h": 156.9
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#1B472F
secondary
#7D4162
accent
#539AD5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #1B472F

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

Preview Lab → · Contrast checker → · Palette generator →

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