#298F5B#298F5B

#298F5B is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.123 H 156.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#298F5B
RGBrgb(41, 143, 91)
HSLhsl(149, 55%, 36%)
HSVhsv(149, 71%, 56%)
CMYKcmyk(71.3%, 0%, 36.4%, 43.9%)
CIE-LABlab(52.81, -41.48, 19.50)
CIE-LCHlch(52.81, 45.83, 154.82°)
OKLaboklab(57.89% -0.1123 0.049)
OKLCHoklch(57.89% 0.123 156.4)
XYZxyz(12.6241, 20.8703, 13.2586)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F5B #8F295D
analogous
#2A8F29 #298F5B #298F8E
triadic
#298F5B #5B298F #8F5B29
tetradic
#298F5B #292A8F #8F295D #8F8E29
square
#298F5B #292A8F #8F295D #8F8E29
split-complementary
#298F5B #8E298F #8F292A
monochromatic
#0E301E #1B5F3D #298F5B #37BF79 #61D298

Accessibility & contrast

On white

4.06
#298F5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#298F5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F5B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F5B#FFFFFF#000000##000000
##298F5B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8458
Deuteranopia (green-blind)
#817A5E
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #298f5b;
/* rgb */ color: rgb(41, 143, 91);
/* oklch */ color: oklch(57.9% 0.123 156.4);
Tailwind
colors: {
  custom: {
    50: '#71b189',
    500: '#298f5b',
    950: '#000000',
  },
}
SCSS
$custom: #298f5b;
$custom-light: #71b189;
$custom-dark: #000000;
JSON
{
  "hex": "#298f5b",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 91
  },
  "hsl": {
    "h": 149.412,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5789,
    "c": 0.12254,
    "h": 156.4
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#298F5B
secondary
#B75C8B
accent
#4995DF
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #298F5B

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

Preview Lab → · Contrast checker → · Palette generator →

#298F5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva