#1F8252#1F8252

#1F8252 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 53.9% C 0.117 H 156.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8252
RGBrgb(31, 130, 82)
HSLhsl(151, 61%, 32%)
HSVhsv(151, 76%, 51%)
CMYKcmyk(76.2%, 0%, 36.9%, 49%)
CIE-LABlab(48.09, -39.66, 18.19)
CIE-LCHlch(48.09, 43.63, 155.36°)
OKLaboklab(53.89% -0.1073 0.0457)
OKLCHoklch(53.89% 0.117 156.9)
XYZxyz(10.0697, 16.8646, 10.7055)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8252 #821F4F
analogous
#1F8220 #1F8252 #1F8182
triadic
#1F8252 #521F82 #82521F
tetradic
#1F8252 #201F82 #821F4F #81821F
square
#1F8252 #201F82 #821F4F #81821F
split-complementary
#1F8252 #821F81 #82201F
monochromatic
#071F14 #135133 #1F8252 #2BB371 #48D390

Accessibility & contrast

On white

4.80
#1F8252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1F8252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8252
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8252#FFFFFF#000000##FFFFFF
##1F82521.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8252;
/* rgb */ color: rgb(31, 130, 82);
/* oklch */ color: oklch(53.9% 0.117 156.9);
Tailwind
colors: {
  custom: {
    50: '#6aa783',
    500: '#1f8252',
    950: '#000000',
  },
}
SCSS
$custom: #1f8252;
$custom-light: #6aa783;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8252",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 150.909,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.11662,
    "h": 156.9
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#1F8252
secondary
#B5487D
accent
#4391E5
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F8252

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

Preview Lab → · Contrast checker → · Palette generator →

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