#1B451A#1B451A

#1B451A is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.085 H 143.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1B451A
RGBrgb(27, 69, 26)
HSLhsl(119, 45%, 19%)
HSVhsv(119, 62%, 27%)
CMYKcmyk(60.9%, 0%, 62.3%, 72.9%)
CIE-LABlab(25.45, -24.88, 21.36)
CIE-LCHlch(25.45, 32.79, 139.34°)
OKLaboklab(34.9% -0.0677 0.0508)
OKLCHoklch(34.9% 0.085 143.1)
XYZxyz(2.7664, 4.5636, 1.7122)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B451A #441A45
analogous
#30451A #1B451A #1A452E
triadic
#1B451A #1A1B45 #451A1B
tetradic
#1B451A #1A3045 #441A45 #452E1A
square
#1B451A #1A3045 #441A45 #452E1A
split-complementary
#1B451A #2E1A45 #451A30
monochromatic
#091608 #0A1909 #1B451A #2C712B #3E9E3B

Accessibility & contrast

On white

10.98
#1B451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B451A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B451A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B451A#FFFFFF#000000##FFFFFF
##1B451A1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F16
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#15433B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b451a;
/* rgb */ color: rgb(27, 69, 26);
/* oklch */ color: oklch(34.9% 0.085 143.1);
Tailwind
colors: {
  custom: {
    50: '#5c7958',
    500: '#1b451a',
    950: '#000000',
  },
}
SCSS
$custom: #1b451a;
$custom-light: #5c7958;
$custom-dark: #000000;
JSON
{
  "hex": "#1b451a",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 118.605,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.34898,
    "c": 0.08462,
    "h": 143.1
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#1B451A
secondary
#7A407B
accent
#53D5D2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #1B451A

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

Preview Lab → · Contrast checker → · Palette generator →

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