#298E4F#298E4F

#298E4F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.133 H 151.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#298E4F
RGBrgb(41, 142, 79)
HSLhsl(143, 55%, 36%)
HSVhsv(143, 71%, 56%)
CMYKcmyk(71.1%, 0%, 44.4%, 44.3%)
CIE-LABlab(52.26, -43.43, 25.41)
CIE-LCHlch(52.26, 50.32, 149.67°)
OKLaboklab(57.37% -0.117 0.0627)
OKLCHoklch(57.37% 0.133 151.8)
XYZxyz(11.9977, 20.3806, 10.6972)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E4F #8E2968
analogous
#368E29 #298E4F #298E81
triadic
#298E4F #4F298E #8E4F29
tetradic
#298E4F #29368E #8E2968 #8E8129
square
#298E4F #29368E #8E2968 #8E8129
split-complementary
#298E4F #81298E #8E2936
monochromatic
#0E2F1A #1B5F35 #298E4F #37BD69 #60D18B

Accessibility & contrast

On white

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

On black

5.08
#298E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E4F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E4F#FFFFFF#000000##000000
##298E4F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824A
Deuteranopia (green-blind)
#827953
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #298e4f;
/* rgb */ color: rgb(41, 142, 79);
/* oklch */ color: oklch(57.4% 0.133 151.8);
Tailwind
colors: {
  custom: {
    50: '#71b081',
    500: '#298e4f',
    950: '#000000',
  },
}
SCSS
$custom: #298e4f;
$custom-light: #71b081;
$custom-dark: #000000;
JSON
{
  "hex": "#298e4f",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 142.574,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.13279,
    "h": 151.8
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#298E4F
secondary
#B75C95
accent
#49A6DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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