#298E47#298E47

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

Color values

HEX#298E47
RGBrgb(41, 142, 71)
HSLhsl(138, 55%, 36%)
HSVhsv(138, 71%, 56%)
CMYKcmyk(71.1%, 0%, 50%, 44.3%)
CIE-LABlab(52.14, -44.82, 29.55)
CIE-LCHlch(52.14, 53.69, 146.60°)
OKLaboklab(57.23% -0.1207 0.0719)
OKLCHoklch(57.23% 0.14 149.2)
XYZxyz(11.7239, 20.2711, 9.2549)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E47 #8E2970
analogous
#3D8E29 #298E47 #298E79
triadic
#298E47 #47298E #8E4729
tetradic
#298E47 #293D8E #8E2970 #8E7929
square
#298E47 #293D8E #8E2970 #8E7929
split-complementary
#298E47 #79298E #8E293D
monochromatic
#0E2F18 #1B5F2F #298E47 #37BD5F #60D182

Accessibility & contrast

On white

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

On black

5.05
#298E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E47
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E47#FFFFFF#000000##000000
##298E471.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8241
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e47;
/* rgb */ color: rgb(41, 142, 71);
/* oklch */ color: oklch(57.2% 0.140 149.2);
Tailwind
colors: {
  custom: {
    50: '#71b07b',
    500: '#298e47',
    950: '#000000',
  },
}
SCSS
$custom: #298e47;
$custom-light: #71b07b;
$custom-dark: #000000;
JSON
{
  "hex": "#298e47",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 71
  },
  "hsl": {
    "h": 137.822,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.14049,
    "h": 149.2
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#298E47
secondary
#B75C9C
accent
#49B2DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091109
muted
#7B807B

Preview Lab

Preview with #298E47

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

Preview Lab → · Contrast checker → · Palette generator →

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