#298F4F#298F4F

#298F4F is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.6% C 0.134 H 151.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#298F4F
RGBrgb(41, 143, 79)
HSLhsl(142, 55%, 36%)
HSVhsv(142, 71%, 56%)
CMYKcmyk(71.3%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.60, -43.82, 25.84)
CIE-LCHlch(52.60, 50.87, 149.47°)
OKLaboklab(57.65% -0.1181 0.0637)
OKLCHoklch(57.65% 0.134 151.6)
XYZxyz(12.1472, 20.6795, 10.7470)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F4F #8F2969
analogous
#368F29 #298F4F #298F82
triadic
#298F4F #4F298F #8F4F29
tetradic
#298F4F #29368F #8F2969 #8F8229
square
#298F4F #29368F #8F2969 #8F8229
split-complementary
#298F4F #82298F #8F2936
monochromatic
#0E301A #1B5F35 #298F4F #37BF69 #61D28B

Accessibility & contrast

On white

4.09
#298F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#298F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F4F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F4F#FFFFFF#000000##000000
##298F4F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834A
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #298f4f;
/* rgb */ color: rgb(41, 143, 79);
/* oklch */ color: oklch(57.6% 0.134 151.6);
Tailwind
colors: {
  custom: {
    50: '#71b181',
    500: '#298f4f',
    950: '#000000',
  },
}
SCSS
$custom: #298f4f;
$custom-light: #71b181;
$custom-dark: #000000;
JSON
{
  "hex": "#298f4f",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 142.353,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.13418,
    "h": 151.6
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#298F4F
secondary
#B75C95
accent
#49A7DF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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