#298726#298726

#298726 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.159 H 142.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#298726
RGBrgb(41, 135, 38)
HSLhsl(118, 56%, 34%)
HSVhsv(118, 72%, 53%)
CMYKcmyk(69.6%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.42, -46.52, 42.28)
CIE-LCHlch(49.42, 62.86, 137.73°)
OKLaboklab(54.86% -0.1265 0.0966)
OKLCHoklch(54.86% 0.159 142.6)
XYZxyz(9.9277, 17.9383, 4.7726)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298726 #842687
analogous
#5A8726 #298726 #268754
triadic
#298726 #262987 #872629
tetradic
#298726 #265A87 #842687 #875426
square
#298726 #265A87 #842687 #875426
split-complementary
#298726 #542687 #87265A
monochromatic
#0C270B #1A5719 #298726 #38B733 #5BD058

Accessibility & contrast

On white

4.58
#298726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#298726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298726
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298726#FFFFFF#000000##000000
##2987261.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#118374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298726;
/* rgb */ color: rgb(41, 135, 38);
/* oklch */ color: oklch(54.9% 0.159 142.6);
Tailwind
colors: {
  custom: {
    50: '#71ab66',
    500: '#298726',
    950: '#000000',
  },
}
SCSS
$custom: #298726;
$custom-light: #71ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#298726",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 118.144,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.15913,
    "h": 142.6
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#298726
secondary
#B254B5
accent
#48DFDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298726

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

Preview Lab → · Contrast checker → · Palette generator →

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