#298B3F#298B3F

#298B3F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.144 H 147.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#298B3F
RGBrgb(41, 139, 63)
HSLhsl(133, 54%, 35%)
HSVhsv(133, 71%, 55%)
CMYKcmyk(70.5%, 0%, 54.7%, 45.5%)
CIE-LABlab(51.03, -44.94, 32.35)
CIE-LCHlch(51.03, 55.37, 144.25°)
OKLaboklab(56.28% -0.1211 0.0777)
OKLCHoklch(56.28% 0.144 147.3)
XYZxyz(11.0435, 19.2943, 7.8438)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B3F #8B2975
analogous
#448B29 #298B3F #298B70
triadic
#298B3F #3F298B #8B3F29
tetradic
#298B3F #29448B #8B2975 #8B7029
square
#298B3F #29448B #8B2975 #8B7029
split-complementary
#298B3F #70298B #8B2944
monochromatic
#0D2C14 #1B5C2A #298B3F #37BA54 #5FD078

Accessibility & contrast

On white

4.32
#298B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#298B3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B3F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B3F#FFFFFF#000000##000000
##298B3F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F38
Deuteranopia (green-blind)
#817645
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298b3f;
/* rgb */ color: rgb(41, 139, 63);
/* oklch */ color: oklch(56.3% 0.144 147.3);
Tailwind
colors: {
  custom: {
    50: '#71ae76',
    500: '#298b3f',
    950: '#000000',
  },
}
SCSS
$custom: #298b3f;
$custom-light: #71ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#298b3f",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 133.469,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.14393,
    "h": 147.3
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#298B3F
secondary
#B55BA1
accent
#4ABDDE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #298B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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