#298415#298415

#298415 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.165 H 140.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#298415
RGBrgb(41, 132, 21)
HSLhsl(109, 73%, 30%)
HSVhsv(109, 84%, 52%)
CMYKcmyk(68.9%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.29, -46.72, 47.23)
CIE-LCHlch(48.29, 66.43, 134.69°)
OKLaboklab(53.89% -0.1279 0.1045)
OKLCHoklch(53.89% 0.165 140.7)
XYZxyz(9.3006, 17.0271, 3.5057)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298415 #701584
analogous
#618415 #298415 #158438
triadic
#298415 #152984 #841529
tetradic
#298415 #156184 #701584 #843815
square
#298415 #156184 #701584 #843815
split-complementary
#298415 #381584 #841561
monochromatic
#081A04 #194F0D #298415 #39B91D #53DF35

Accessibility & contrast

On white

4.77
#298415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#298415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298415
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298415#FFFFFF#000000##FFFFFF
##2984151.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#178070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298415;
/* rgb */ color: rgb(41, 132, 21);
/* oklch */ color: oklch(53.9% 0.165 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a95e',
    500: '#298415',
    950: '#000000',
  },
}
SCSS
$custom: #298415;
$custom-light: #71a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#298415",
  "rgb": {
    "r": 41,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 109.189,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.16518,
    "h": 140.7
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#298415
secondary
#A23CB9
accent
#39EFCE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298415

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

Preview Lab → · Contrast checker → · Palette generator →

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