#298F4B#298F4B

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

Color values

HEX#298F4B
RGBrgb(41, 143, 75)
HSLhsl(140, 55%, 36%)
HSVhsv(140, 71%, 56%)
CMYKcmyk(71.3%, 0%, 47.6%, 43.9%)
CIE-LABlab(52.53, -44.53, 27.92)
CIE-LCHlch(52.53, 52.56, 147.92°)
OKLaboklab(57.58% -0.1199 0.0683)
OKLCHoklch(57.58% 0.138 150.3)
XYZxyz(12.0059, 20.6230, 10.0032)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F4B #8F296D
analogous
#3A8F29 #298F4B #298F7E
triadic
#298F4B #4B298F #8F4B29
tetradic
#298F4B #293A8F #8F296D #8F7E29
square
#298F4B #293A8F #8F296D #8F7E29
split-complementary
#298F4B #7E298F #8F293A
monochromatic
#0E3019 #1B5F32 #298F4B #37BF64 #61D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298F4B#FFFFFF#000000##000000
##298F4B1.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)
#908346
Deuteranopia (green-blind)
#837A50
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #298f4b;
/* rgb */ color: rgb(41, 143, 75);
/* oklch */ color: oklch(57.6% 0.138 150.3);
Tailwind
colors: {
  custom: {
    50: '#71b17e',
    500: '#298f4b',
    950: '#000000',
  },
}
SCSS
$custom: #298f4b;
$custom-light: #71b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#298f4b",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 140,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.13804,
    "h": 150.3
  },
  "luminance": 0.20624
}

Semantic roles & 50–950 ramp

primary
#298F4B
secondary
#B75C99
accent
#49ADDF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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