#298162#298162

#298162 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.3% C 0.097 H 165.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#298162
RGBrgb(41, 129, 98)
HSLhsl(159, 52%, 33%)
HSVhsv(159, 68%, 51%)
CMYKcmyk(68.2%, 0%, 24%, 49.4%)
CIE-LABlab(48.33, -33.84, 9.33)
CIE-LCHlch(48.33, 35.10, 164.59°)
OKLaboklab(54.26% -0.0936 0.0239)
OKLCHoklch(54.26% 0.097 165.7)
XYZxyz(10.9681, 17.0526, 14.2663)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298162 #812948
analogous
#298136 #298162 #297481
triadic
#298162 #622981 #816229
tetradic
#298162 #362981 #812948 #748129
square
#298162 #362981 #812948 #748129
split-complementary
#298162 #812974 #813629
monochromatic
#0B241B #1A533F #298162 #38AF85 #5ACBA3

Accessibility & contrast

On white

4.76
#298162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#298162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298162
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298162#FFFFFF#000000##FFFFFF
##2981621.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7860
Deuteranopia (green-blind)
#726F64
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298162;
/* rgb */ color: rgb(41, 129, 98);
/* oklch */ color: oklch(54.3% 0.097 165.7);
Tailwind
colors: {
  custom: {
    50: '#6ea68e',
    500: '#298162',
    950: '#000000',
  },
}
SCSS
$custom: #298162;
$custom-light: #6ea68e;
$custom-dark: #000000;
JSON
{
  "hex": "#298162",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 158.864,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.09658,
    "h": 165.7
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#298162
secondary
#B05676
accent
#4D7FDB
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #298162

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

Preview Lab → · Contrast checker → · Palette generator →

#298162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva