#1F8253#1F8253

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

Color values

HEX#1F8253
RGBrgb(31, 130, 83)
HSLhsl(152, 61%, 32%)
HSVhsv(152, 76%, 51%)
CMYKcmyk(76.2%, 0%, 36.2%, 49%)
CIE-LABlab(48.11, -39.44, 17.65)
CIE-LCHlch(48.11, 43.21, 155.90°)
OKLaboklab(53.91% -0.1068 0.0444)
OKLCHoklch(53.91% 0.116 157.4)
XYZxyz(10.1080, 16.8799, 10.9074)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8253 #821F4E
analogous
#1F8221 #1F8253 #1F8082
triadic
#1F8253 #531F82 #82531F
tetradic
#1F8253 #211F82 #821F4E #80821F
square
#1F8253 #211F82 #821F4E #80821F
split-complementary
#1F8253 #821F80 #82211F
monochromatic
#071F14 #135133 #1F8253 #2BB373 #48D391

Accessibility & contrast

On white

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

On black

4.38
#1F8253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F8253#FFFFFF#000000##FFFFFF
##1F82531.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817750
Deuteranopia (green-blind)
#756F56
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8253;
/* rgb */ color: rgb(31, 130, 83);
/* oklch */ color: oklch(53.9% 0.116 157.4);
Tailwind
colors: {
  custom: {
    50: '#6aa783',
    500: '#1f8253',
    950: '#000000',
  },
}
SCSS
$custom: #1f8253;
$custom-light: #6aa783;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8253",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 83
  },
  "hsl": {
    "h": 151.515,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.11565,
    "h": 157.4
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

primary
#1F8253
secondary
#B5487C
accent
#4390E5
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F8253

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

Preview Lab → · Contrast checker → · Palette generator →

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