#2F8262#2F8262

#2F8262 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.7% C 0.095 H 164.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F8262
RGBrgb(47, 130, 98)
HSLhsl(157, 47%, 35%)
HSVhsv(157, 64%, 51%)
CMYKcmyk(63.8%, 0%, 24.6%, 49%)
CIE-LABlab(48.82, -33.13, 10.05)
CIE-LCHlch(48.82, 34.62, 163.13°)
OKLaboklab(54.71% -0.0915 0.0257)
OKLCHoklch(54.71% 0.095 164.3)
XYZxyz(11.3584, 17.4503, 14.3226)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8262 #822F4F
analogous
#2F8238 #2F8262 #2F7982
triadic
#2F8262 #622F82 #82622F
tetradic
#2F8262 #382F82 #822F4F #79822F
square
#2F8262 #382F82 #822F4F #79822F
split-complementary
#2F8262 #822F79 #82382F
monochromatic
#0E281E #1F5540 #2F8262 #3FAF84 #64C7A1

Accessibility & contrast

On white

4.68
#2F8262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2F8262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8262
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8262#FFFFFF#000000##FFFFFF
##2F82621.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807960
Deuteranopia (green-blind)
#747164
Tritanopia (blue-blind)
#008279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8262;
/* rgb */ color: rgb(47, 130, 98);
/* oklch */ color: oklch(54.7% 0.095 164.3);
Tailwind
colors: {
  custom: {
    50: '#71a78e',
    500: '#2f8262',
    950: '#000000',
  },
}
SCSS
$custom: #2f8262;
$custom-light: #71a78e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8262",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 156.867,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.09502,
    "h": 164.3
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#2F8262
secondary
#AE5F7D
accent
#5185D7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2F8262

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

Preview Lab → · Contrast checker → · Palette generator →

#2F8262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva