#1A541B#1A541B

#1A541B is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.107 H 143.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1A541B
RGBrgb(26, 84, 27)
HSLhsl(121, 53%, 22%)
HSVhsv(121, 69%, 33%)
CMYKcmyk(69%, 0%, 67.9%, 67.1%)
CIE-LABlab(30.97, -31.58, 27.19)
CIE-LCHlch(30.97, 41.68, 139.27°)
OKLaboklab(39.44% -0.0857 0.0635)
OKLCHoklch(39.44% 0.107 143.5)
XYZxyz(3.7939, 6.6390, 2.1182)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A541B #541A53
analogous
#36541A #1A541B #1A5438
triadic
#1A541B #1B1A54 #541B1A
tetradic
#1A541B #1A3654 #541A53 #54381A
square
#1A541B #1A3654 #541A53 #54381A
split-complementary
#1A541B #381A54 #541A36
monochromatic
#071708 #0C250C #1A541B #28832A #37B139

Accessibility & contrast

On white

9.02
#1A541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1A541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A541B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A541B#FFFFFF#000000##FFFFFF
##1A541B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#0D5248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a541b;
/* rgb */ color: rgb(26, 84, 27);
/* oklch */ color: oklch(39.4% 0.107 143.5);
Tailwind
colors: {
  custom: {
    50: '#5f855a',
    500: '#1a541b',
    950: '#000000',
  },
}
SCSS
$custom: #1a541b;
$custom-light: #5f855a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a541b",
  "rgb": {
    "r": 26,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 121.034,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39441,
    "c": 0.10667,
    "h": 143.5
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#1A541B
secondary
#8A4089
accent
#4CDADC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1A541B

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

Preview Lab → · Contrast checker → · Palette generator →

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