#1B7252#1B7252

#1B7252 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.3% C 0.096 H 163.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#1B7252
RGBrgb(27, 114, 82)
HSLhsl(158, 62%, 28%)
HSVhsv(158, 76%, 45%)
CMYKcmyk(76.3%, 0%, 28.1%, 55.3%)
CIE-LABlab(42.58, -33.44, 10.62)
CIE-LCHlch(42.58, 35.08, 162.38°)
OKLaboklab(49.33% -0.0917 0.0271)
OKLCHoklch(49.33% 0.096 163.5)
XYZxyz(7.9914, 12.8759, 10.0451)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7252 #721B3B
analogous
#1B7226 #1B7252 #1B6672
triadic
#1B7252 #521B72 #72521B
tetradic
#1B7252 #261B72 #721B3B #66721B
square
#1B7252 #261B72 #721B3B #66721B
split-complementary
#1B7252 #721B66 #72261B
monochromatic
#061912 #0F412E #1B7252 #27A376 #38D098

Accessibility & contrast

On white

5.87
#1B7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#1B7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7252
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7252#FFFFFF#000000##FFFFFF
##1B72521.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#656154
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7252;
/* rgb */ color: rgb(27, 114, 82);
/* oklch */ color: oklch(49.3% 0.096 163.5);
Tailwind
colors: {
  custom: {
    50: '#669b82',
    500: '#1b7252',
    950: '#000000',
  },
}
SCSS
$custom: #1b7252;
$custom-light: #669b82;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7252",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 157.931,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.09562,
    "h": 163.5
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#1B7252
secondary
#A74267
accent
#437FE5
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #1B7252

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

Preview Lab → · Contrast checker → · Palette generator →

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