#298E42#298E42

#298E42 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.145 H 147.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#298E42
RGBrgb(41, 142, 66)
HSLhsl(135, 55%, 36%)
HSVhsv(135, 71%, 56%)
CMYKcmyk(71.1%, 0%, 53.5%, 44.3%)
CIE-LABlab(52.07, -45.62, 32.08)
CIE-LCHlch(52.07, 55.77, 144.89°)
OKLaboklab(57.15% -0.1229 0.0773)
OKLCHoklch(57.15% 0.145 147.8)
XYZxyz(11.5700, 20.2095, 8.4443)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E42 #8E2975
analogous
#438E29 #298E42 #298E74
triadic
#298E42 #42298E #8E4229
tetradic
#298E42 #29438E #8E2975 #8E7429
square
#298E42 #29438E #8E2975 #8E7429
split-complementary
#298E42 #74298E #8E2943
monochromatic
#0E2F16 #1B5F2C #298E42 #37BD58 #60D17C

Accessibility & contrast

On white

4.16
#298E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#298E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E42
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E42#FFFFFF#000000##000000
##298E421.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90813B
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e42;
/* rgb */ color: rgb(41, 142, 66);
/* oklch */ color: oklch(57.2% 0.145 147.8);
Tailwind
colors: {
  custom: {
    50: '#71b078',
    500: '#298e42',
    950: '#000000',
  },
}
SCSS
$custom: #298e42;
$custom-light: #71b078;
$custom-dark: #000000;
JSON
{
  "hex": "#298e42",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 134.851,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.14519,
    "h": 147.8
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#298E42
secondary
#B75CA0
accent
#49BADF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #298E42

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

Preview Lab → · Contrast checker → · Palette generator →

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