#1F8154#1F8154

#1F8154 is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.7% C 0.113 H 158.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8154
RGBrgb(31, 129, 84)
HSLhsl(152, 61%, 31%)
HSVhsv(152, 76%, 51%)
CMYKcmyk(76%, 0%, 34.9%, 49.4%)
CIE-LABlab(47.79, -38.80, 16.65)
CIE-LCHlch(47.79, 42.22, 156.78°)
OKLaboklab(53.65% -0.1052 0.042)
OKLCHoklch(53.65% 0.113 158.2)
XYZxyz(10.0146, 16.6307, 11.0680)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8154 #811F4C
analogous
#1F8123 #1F8154 #1F7D81
triadic
#1F8154 #541F81 #81541F
tetradic
#1F8154 #231F81 #811F4C #7D811F
square
#1F8154 #231F81 #811F4C #7D811F
split-complementary
#1F8154 #811F7D #81231F
monochromatic
#071E14 #135034 #1F8154 #2BB274 #47D393

Accessibility & contrast

On white

4.85
#1F8154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8154
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8154#FFFFFF#000000##FFFFFF
##1F81541.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807751
Deuteranopia (green-blind)
#746E57
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8154;
/* rgb */ color: rgb(31, 129, 84);
/* oklch */ color: oklch(53.7% 0.113 158.2);
Tailwind
colors: {
  custom: {
    50: '#6aa684',
    500: '#1f8154',
    950: '#000000',
  },
}
SCSS
$custom: #1f8154;
$custom-light: #6aa684;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8154",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 84
  },
  "hsl": {
    "h": 152.449,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.1133,
    "h": 158.2
  },
  "luminance": 0.16632
}

Semantic roles & 50–950 ramp

primary
#1F8154
secondary
#B44879
accent
#438DE4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F8154

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

Preview Lab → · Contrast checker → · Palette generator →

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