#298F52#298F52

#298F52 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.131 H 152.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#298F52
RGBrgb(41, 143, 82)
HSLhsl(144, 55%, 36%)
HSVhsv(144, 71%, 56%)
CMYKcmyk(71.3%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.65, -43.27, 24.27)
CIE-LCHlch(52.65, 49.61, 150.71°)
OKLaboklab(57.7% -0.1167 0.0602)
OKLCHoklch(57.7% 0.131 152.7)
XYZxyz(12.2588, 20.7242, 11.3351)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F52 #8F2966
analogous
#338F29 #298F52 #298F85
triadic
#298F52 #52298F #8F5229
tetradic
#298F52 #29338F #8F2966 #8F8529
square
#298F52 #29338F #8F2966 #8F8529
split-complementary
#298F52 #85298F #8F2933
monochromatic
#0E301B #1B5F37 #298F52 #37BF6D #61D28E

Accessibility & contrast

On white

4.08
#298F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#298F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F52
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F52#FFFFFF#000000##000000
##298F521.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#837A56
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #298f52;
/* rgb */ color: rgb(41, 143, 82);
/* oklch */ color: oklch(57.7% 0.131 152.7);
Tailwind
colors: {
  custom: {
    50: '#71b183',
    500: '#298f52',
    950: '#000000',
  },
}
SCSS
$custom: #298f52;
$custom-light: #71b183;
$custom-dark: #000000;
JSON
{
  "hex": "#298f52",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 144.118,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.13125,
    "h": 152.7
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#298F52
secondary
#B75C93
accent
#49A3DF
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298F52

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

Preview Lab → · Contrast checker → · Palette generator →

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