#1F8D64#1F8D64

#1F8D64 is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.3% C 0.115 H 162.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1F8D64
RGBrgb(31, 141, 100)
HSLhsl(158, 64%, 34%)
HSVhsv(158, 78%, 55%)
CMYKcmyk(78%, 0%, 29.1%, 44.7%)
CIE-LABlab(52.13, -40.15, 13.46)
CIE-LCHlch(52.13, 42.35, 161.47°)
OKLaboklab(57.34% -0.1098 0.0343)
OKLCHoklch(57.34% 0.115 162.7)
XYZxyz(12.3888, 20.2597, 15.3117)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D64 #8D1F48
analogous
#1F8D2D #1F8D64 #1F7F8D
triadic
#1F8D64 #641F8D #8D641F
tetradic
#1F8D64 #2D1F8D #8D1F48 #7F8D1F
square
#1F8D64 #2D1F8D #8D1F48 #7F8D1F
split-complementary
#1F8D64 #8D1F7F #8D2D1F
monochromatic
#09291D #145B40 #1F8D64 #2ABF88 #4ED8A5

Accessibility & contrast

On white

4.16
#1F8D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#1F8D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D64
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D64#FFFFFF#000000##000000
##1F8D641.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8262
Deuteranopia (green-blind)
#7D7867
Tritanopia (blue-blind)
#008D82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8d64;
/* rgb */ color: rgb(31, 141, 100);
/* oklch */ color: oklch(57.3% 0.115 162.7);
Tailwind
colors: {
  custom: {
    50: '#6daf90',
    500: '#1f8d64',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d64;
$custom-light: #6daf90;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d64",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 100
  },
  "hsl": {
    "h": 157.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.11498,
    "h": 162.7
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#1F8D64
secondary
#BB4D76
accent
#417FE7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8D64

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

Preview Lab → · Contrast checker → · Palette generator →

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