#298E48#298E48

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

Color values

HEX#298E48
RGBrgb(41, 142, 72)
HSLhsl(138, 55%, 36%)
HSVhsv(138, 71%, 56%)
CMYKcmyk(71.1%, 0%, 49.3%, 44.3%)
CIE-LABlab(52.16, -44.66, 29.04)
CIE-LCHlch(52.16, 53.27, 146.97°)
OKLaboklab(57.25% -0.1203 0.0708)
OKLCHoklch(57.25% 0.14 149.5)
XYZxyz(11.7562, 20.2840, 9.4253)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E48 #8E296F
analogous
#3C8E29 #298E48 #298E7A
triadic
#298E48 #48298E #8E4829
tetradic
#298E48 #293C8E #8E296F #8E7A29
square
#298E48 #293C8E #8E296F #8E7A29
split-complementary
#298E48 #7A298E #8E293C
monochromatic
#0E2F18 #1B5F30 #298E48 #37BD60 #60D183

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298E48#FFFFFF#000000##000000
##298E481.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)
#8F8242
Deuteranopia (green-blind)
#83794D
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e48;
/* rgb */ color: rgb(41, 142, 72);
/* oklch */ color: oklch(57.2% 0.140 149.5);
Tailwind
colors: {
  custom: {
    50: '#71b07c',
    500: '#298e48',
    950: '#000000',
  },
}
SCSS
$custom: #298e48;
$custom-light: #71b07c;
$custom-dark: #000000;
JSON
{
  "hex": "#298e48",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 72
  },
  "hsl": {
    "h": 138.416,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.13954,
    "h": 149.5
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#298E48
secondary
#B75C9B
accent
#49B1DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091109
muted
#7B807B

Preview Lab

Preview with #298E48

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

Preview Lab → · Contrast checker → · Palette generator →

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