#1F8A64#1F8A64

#1F8A64 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.5% C 0.111 H 163.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8A64
RGBrgb(31, 138, 100)
HSLhsl(159, 63%, 33%)
HSVhsv(159, 78%, 54%)
CMYKcmyk(77.5%, 0%, 27.5%, 45.9%)
CIE-LABlab(51.14, -38.88, 12.08)
CIE-LCHlch(51.14, 40.71, 162.74°)
OKLaboklab(56.52% -0.1066 0.0308)
OKLCHoklch(56.52% 0.111 163.9)
XYZxyz(11.9525, 19.3869, 15.1662)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A64 #8A1F45
analogous
#1F8A2F #1F8A64 #1F7A8A
triadic
#1F8A64 #641F8A #8A641F
tetradic
#1F8A64 #2F1F8A #8A1F45 #7A8A1F
square
#1F8A64 #2F1F8A #8A1F45 #7A8A1F
split-complementary
#1F8A64 #8A1F7A #8A2F1F
monochromatic
#09261C #145840 #1F8A64 #2ABC88 #4CD7A6

Accessibility & contrast

On white

4.31
#1F8A64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1F8A64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A64
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A64#FFFFFF#000000##000000
##1F8A641.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878062
Deuteranopia (green-blind)
#7A7666
Tritanopia (blue-blind)
#008A80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a64;
/* rgb */ color: rgb(31, 138, 100);
/* oklch */ color: oklch(56.5% 0.111 163.9);
Tailwind
colors: {
  custom: {
    50: '#6dad90',
    500: '#1f8a64',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a64;
$custom-light: #6dad90;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a64",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 100
  },
  "hsl": {
    "h": 158.692,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.111,
    "h": 163.9
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#1F8A64
secondary
#BA4B72
accent
#417CE6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8A64

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

Preview Lab → · Contrast checker → · Palette generator →

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