#298E4A#298E4A

#298E4A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.138 H 150.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#298E4A
RGBrgb(41, 142, 74)
HSLhsl(140, 55%, 36%)
HSVhsv(140, 71%, 56%)
CMYKcmyk(71.1%, 0%, 47.9%, 44.3%)
CIE-LABlab(52.19, -44.32, 28.01)
CIE-LCHlch(52.19, 52.43, 147.70°)
OKLaboklab(57.28% -0.1193 0.0685)
OKLCHoklch(57.28% 0.138 150.1)
XYZxyz(11.8225, 20.3105, 9.7745)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E4A #8E296D
analogous
#3A8E29 #298E4A #298E7C
triadic
#298E4A #4A298E #8E4A29
tetradic
#298E4A #293A8E #8E296D #8E7C29
square
#298E4A #293A8E #8E296D #8E7C29
split-complementary
#298E4A #7C298E #8E293A
monochromatic
#0E2F19 #1B5F31 #298E4A #37BD63 #60D185

Accessibility & contrast

On white

4.15
#298E4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#298E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E4A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E4A#FFFFFF#000000##000000
##298E4A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8245
Deuteranopia (green-blind)
#83794F
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e4a;
/* rgb */ color: rgb(41, 142, 74);
/* oklch */ color: oklch(57.3% 0.138 150.1);
Tailwind
colors: {
  custom: {
    50: '#71b07d',
    500: '#298e4a',
    950: '#000000',
  },
}
SCSS
$custom: #298e4a;
$custom-light: #71b07d;
$custom-dark: #000000;
JSON
{
  "hex": "#298e4a",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 74
  },
  "hsl": {
    "h": 139.604,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.13762,
    "h": 150.1
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#298E4A
secondary
#B75C99
accent
#49AEDF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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