#1F8256#1F8256

#1F8256 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.0% C 0.113 H 159.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F8256
RGBrgb(31, 130, 86)
HSLhsl(153, 61%, 32%)
HSVhsv(153, 76%, 51%)
CMYKcmyk(76.2%, 0%, 33.8%, 49%)
CIE-LABlab(48.17, -38.78, 16.01)
CIE-LCHlch(48.17, 41.95, 157.56°)
OKLaboklab(53.98% -0.1053 0.0405)
OKLCHoklch(53.98% 0.113 159)
XYZxyz(10.2264, 16.9273, 11.5306)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8256 #821F4B
analogous
#1F8224 #1F8256 #1F7D82
triadic
#1F8256 #561F82 #82561F
tetradic
#1F8256 #241F82 #821F4B #7D821F
square
#1F8256 #241F82 #821F4B #7D821F
split-complementary
#1F8256 #821F7D #82241F
monochromatic
#071F15 #135135 #1F8256 #2BB377 #48D395

Accessibility & contrast

On white

4.79
#1F8256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F8256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8256
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8256#FFFFFF#000000##FFFFFF
##1F82561.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817853
Deuteranopia (green-blind)
#746F59
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8256;
/* rgb */ color: rgb(31, 130, 86);
/* oklch */ color: oklch(54.0% 0.113 159.0);
Tailwind
colors: {
  custom: {
    50: '#6aa786',
    500: '#1f8256',
    950: '#000000',
  },
}
SCSS
$custom: #1f8256;
$custom-light: #6aa786;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8256",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 153.333,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.11279,
    "h": 159
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#1F8256
secondary
#B54878
accent
#438BE5
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F8256

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

Preview Lab → · Contrast checker → · Palette generator →

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