#298F4A#298F4A

#298F4A is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.139 H 150.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#298F4A
RGBrgb(41, 143, 74)
HSLhsl(139, 55%, 36%)
HSVhsv(139, 71%, 56%)
CMYKcmyk(71.3%, 0%, 48.3%, 43.9%)
CIE-LABlab(52.52, -44.70, 28.43)
CIE-LCHlch(52.52, 52.98, 147.54°)
OKLaboklab(57.56% -0.1204 0.0695)
OKLCHoklch(57.56% 0.139 150)
XYZxyz(11.9720, 20.6094, 9.8243)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F4A #8F296E
analogous
#3B8F29 #298F4A #298F7D
triadic
#298F4A #4A298F #8F4A29
tetradic
#298F4A #293B8F #8F296E #8F7D29
square
#298F4A #293B8F #8F296E #8F7D29
split-complementary
#298F4A #7D298F #8F293B
monochromatic
#0E3019 #1B5F31 #298F4A #37BF63 #61D285

Accessibility & contrast

On white

4.10
#298F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#298F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F4A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F4A#FFFFFF#000000##000000
##298F4A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908345
Deuteranopia (green-blind)
#847A4F
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #298f4a;
/* rgb */ color: rgb(41, 143, 74);
/* oklch */ color: oklch(57.6% 0.139 150.0);
Tailwind
colors: {
  custom: {
    50: '#71b17e',
    500: '#298f4a',
    950: '#000000',
  },
}
SCSS
$custom: #298f4a;
$custom-light: #71b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#298f4a",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 139.412,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.139,
    "h": 150
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#298F4A
secondary
#B75C9A
accent
#49AEDF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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