#298940#298940

#298940 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.140 H 147.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#298940
RGBrgb(41, 137, 64)
HSLhsl(134, 54%, 35%)
HSVhsv(134, 70%, 54%)
CMYKcmyk(70.1%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.37, -44.02, 31.03)
CIE-LCHlch(50.37, 53.86, 144.82°)
OKLaboklab(55.74% -0.1187 0.0748)
OKLCHoklch(55.74% 0.14 147.8)
XYZxyz(10.7847, 18.7317, 7.8967)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298940 #892972
analogous
#428929 #298940 #298970
triadic
#298940 #402989 #894029
tetradic
#298940 #294289 #892972 #897029
square
#298940 #294289 #892972 #897029
split-complementary
#298940 #702989 #892942
monochromatic
#0D2B14 #1B5A2A #298940 #37B856 #5ECF79

Accessibility & contrast

On white

4.42
#298940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#298940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298940
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298940#FFFFFF#000000##000000
##2989401.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3A
Deuteranopia (green-blind)
#7F7545
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #298940;
/* rgb */ color: rgb(41, 137, 64);
/* oklch */ color: oklch(55.7% 0.140 147.8);
Tailwind
colors: {
  custom: {
    50: '#70ac76',
    500: '#298940',
    950: '#000000',
  },
}
SCSS
$custom: #298940;
$custom-light: #70ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#298940",
  "rgb": {
    "r": 41,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 134.375,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.14028,
    "h": 147.8
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#298940
secondary
#B45A9F
accent
#4ABADD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #298940

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

Preview Lab → · Contrast checker → · Palette generator →

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