#298E4D#298E4D

#298E4D is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.135 H 151.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#298E4D
RGBrgb(41, 142, 77)
HSLhsl(141, 55%, 36%)
HSVhsv(141, 71%, 56%)
CMYKcmyk(71.1%, 0%, 45.8%, 44.3%)
CIE-LABlab(52.23, -43.79, 26.46)
CIE-LCHlch(52.23, 51.16, 148.86°)
OKLaboklab(57.34% -0.118 0.0651)
OKLCHoklch(57.34% 0.135 151.1)
XYZxyz(11.9260, 20.3519, 10.3195)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E4D #8E296A
analogous
#378E29 #298E4D #298E7F
triadic
#298E4D #4D298E #8E4D29
tetradic
#298E4D #29378E #8E296A #8E7F29
square
#298E4D #29378E #8E296A #8E7F29
split-complementary
#298E4D #7F298E #8E2937
monochromatic
#0E2F19 #1B5F33 #298E4D #37BD67 #60D188

Accessibility & contrast

On white

4.14
#298E4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#298E4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E4D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E4D#FFFFFF#000000##000000
##298E4D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8248
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #298e4d;
/* rgb */ color: rgb(41, 142, 77);
/* oklch */ color: oklch(57.3% 0.135 151.1);
Tailwind
colors: {
  custom: {
    50: '#71b080',
    500: '#298e4d',
    950: '#000000',
  },
}
SCSS
$custom: #298e4d;
$custom-light: #71b080;
$custom-dark: #000000;
JSON
{
  "hex": "#298e4d",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 77
  },
  "hsl": {
    "h": 141.386,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.13473,
    "h": 151.1
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#298E4D
secondary
#B75C96
accent
#49A9DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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