#298F48#298F48

#298F48 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.141 H 149.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#298F48
RGBrgb(41, 143, 72)
HSLhsl(138, 55%, 36%)
HSVhsv(138, 71%, 56%)
CMYKcmyk(71.3%, 0%, 49.7%, 43.9%)
CIE-LABlab(52.49, -45.04, 29.46)
CIE-LCHlch(52.49, 53.82, 146.81°)
OKLaboklab(57.52% -0.1213 0.0717)
OKLCHoklch(57.52% 0.141 149.4)
XYZxyz(11.9057, 20.5829, 9.4751)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F48 #8F2970
analogous
#3D8F29 #298F48 #298F7B
triadic
#298F48 #48298F #8F4829
tetradic
#298F48 #293D8F #8F2970 #8F7B29
square
#298F48 #293D8F #8F2970 #8F7B29
split-complementary
#298F48 #7B298F #8F293D
monochromatic
#0E3018 #1B5F30 #298F48 #37BF60 #61D283

Accessibility & contrast

On white

4.10
#298F48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#298F48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F48
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F48#FFFFFF#000000##000000
##298F481.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908242
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #298f48;
/* rgb */ color: rgb(41, 143, 72);
/* oklch */ color: oklch(57.5% 0.141 149.4);
Tailwind
colors: {
  custom: {
    50: '#71b17c',
    500: '#298f48',
    950: '#000000',
  },
}
SCSS
$custom: #298f48;
$custom-light: #71b17c;
$custom-dark: #000000;
JSON
{
  "hex": "#298f48",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 72
  },
  "hsl": {
    "h": 138.235,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.14091,
    "h": 149.4
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

primary
#298F48
secondary
#B75C9C
accent
#49B1DF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #298F48

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

Preview Lab → · Contrast checker → · Palette generator →

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