#1A6540#1A6540

#1A6540 is a mid, moderate teal. Relative luminance 0.099; OKLCH L 45.1% C 0.095 H 157.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#1A6540
RGBrgb(26, 101, 64)
HSLhsl(150, 59%, 25%)
HSVhsv(150, 74%, 40%)
CMYKcmyk(74.3%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.66, -32.14, 14.57)
CIE-LCHlch(37.66, 35.29, 155.61°)
OKLaboklab(45.15% -0.0871 0.0367)
OKLCHoklch(45.15% 0.095 157.2)
XYZxyz(6.0045, 9.8965, 6.4433)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6540 #651A3F
analogous
#1A651B #1A6540 #1A6565
triadic
#1A6540 #401A65 #65401A
tetradic
#1A6540 #1B1A65 #651A3F #65651A
square
#1A6540 #1B1A65 #651A3F #65651A
split-complementary
#1A6540 #651A65 #651B1A
monochromatic
#06180F #0D3421 #1A6540 #27965F #33C67E

Accessibility & contrast

On white

7.05
#1A6540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1A6540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A6540
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6540#FFFFFF#000000##FFFFFF
##1A65401.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3E
Deuteranopia (green-blind)
#5B5642
Tritanopia (blue-blind)
#00645B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1a6540;
/* rgb */ color: rgb(26, 101, 64);
/* oklch */ color: oklch(45.1% 0.095 157.2);
Tailwind
colors: {
  custom: {
    50: '#629175',
    500: '#1a6540',
    950: '#000000',
  },
}
SCSS
$custom: #1a6540;
$custom-light: #629175;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6540",
  "rgb": {
    "r": 26,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 150.4,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.09453,
    "h": 157.2
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#1A6540
secondary
#9B406D
accent
#4693E2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1A6540

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

Preview Lab → · Contrast checker → · Palette generator →

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