#298115#298115

#298115 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.162 H 140.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#298115
RGBrgb(41, 129, 21)
HSLhsl(109, 72%, 29%)
HSVhsv(109, 84%, 51%)
CMYKcmyk(68.2%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.27, -45.66, 46.28)
CIE-LCHlch(47.27, 65.01, 134.62°)
OKLaboklab(53.04% -0.125 0.1025)
OKLCHoklch(53.04% 0.162 140.7)
XYZxyz(8.8996, 16.2252, 3.3721)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298115 #6D1581
analogous
#5F8115 #298115 #158137
triadic
#298115 #152981 #811529
tetradic
#298115 #155F81 #6D1581 #813715
square
#298115 #155F81 #6D1581 #813715
split-complementary
#298115 #371581 #81155F
monochromatic
#081A04 #184C0C #298115 #3AB61E #52DE33

Accessibility & contrast

On white

4.95
#298115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#298115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298115
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298115#FFFFFF#000000##FFFFFF
##2981151.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#197D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #298115;
/* rgb */ color: rgb(41, 129, 21);
/* oklch */ color: oklch(53.0% 0.162 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a65d',
    500: '#298115',
    950: '#000000',
  },
}
SCSS
$custom: #298115;
$custom-light: #70a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#298115",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 108.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.16171,
    "h": 140.7
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#298115
secondary
#9F3CB6
accent
#39EFCD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #298115

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

Preview Lab → · Contrast checker → · Palette generator →

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