#298B40#298B40

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

Color values

HEX#298B40
RGBrgb(41, 139, 64)
HSLhsl(134, 54%, 35%)
HSVhsv(134, 71%, 55%)
CMYKcmyk(70.5%, 0%, 54%, 45.5%)
CIE-LABlab(51.04, -44.79, 31.85)
CIE-LCHlch(51.04, 54.96, 144.58°)
OKLaboklab(56.29% -0.1207 0.0767)
OKLCHoklch(56.29% 0.143 147.6)
XYZxyz(11.0717, 19.3056, 7.9924)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B40 #8B2974
analogous
#438B29 #298B40 #298B71
triadic
#298B40 #40298B #8B4029
tetradic
#298B40 #29438B #8B2974 #8B7129
square
#298B40 #29438B #8B2974 #8B7129
split-complementary
#298B40 #71298B #8B2943
monochromatic
#0D2C14 #1B5C2A #298B40 #37BA56 #5FD079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298B40#FFFFFF#000000##000000
##298B401.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)
#8D7F39
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298b40;
/* rgb */ color: rgb(41, 139, 64);
/* oklch */ color: oklch(56.3% 0.143 147.6);
Tailwind
colors: {
  custom: {
    50: '#71ae76',
    500: '#298b40',
    950: '#000000',
  },
}
SCSS
$custom: #298b40;
$custom-light: #71ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#298b40",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 134.082,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.143,
    "h": 147.6
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#298B40
secondary
#B55BA0
accent
#4ABBDE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #298B40

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

Preview Lab → · Contrast checker → · Palette generator →

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