#298342#298342

#298342 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.130 H 149.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#298342
RGBrgb(41, 131, 66)
HSLhsl(137, 52%, 34%)
HSVhsv(137, 69%, 51%)
CMYKcmyk(68.7%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.38, -41.36, 27.50)
CIE-LCHlch(48.38, 49.66, 146.38°)
OKLaboklab(54.1% -0.1115 0.067)
OKLCHoklch(54.1% 0.13 149)
XYZxyz(10.0134, 17.0963, 7.9254)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298342 #83296A
analogous
#3D8329 #298342 #29836F
triadic
#298342 #422983 #834229
tetradic
#298342 #293D83 #83296A #836F29
square
#298342 #293D83 #83296A #836F29
split-complementary
#298342 #6F2983 #83293D
monochromatic
#0C2613 #1A542B #298342 #38B259 #5BCC7A

Accessibility & contrast

On white

4.75
#298342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#298342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298342
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298342#FFFFFF#000000##FFFFFF
##2983421.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783D
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#028074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298342;
/* rgb */ color: rgb(41, 131, 66);
/* oklch */ color: oklch(54.1% 0.130 149.0);
Tailwind
colors: {
  custom: {
    50: '#6fa877',
    500: '#298342',
    950: '#000000',
  },
}
SCSS
$custom: #298342;
$custom-light: #6fa877;
$custom-dark: #000000;
JSON
{
  "hex": "#298342",
  "rgb": {
    "r": 41,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 136.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.13008,
    "h": 149
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#298342
secondary
#B15798
accent
#4CB4DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #298342

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

Preview Lab → · Contrast checker → · Palette generator →

#298342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva