#298428#298428

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

Color values

HEX#298428
RGBrgb(41, 132, 40)
HSLhsl(119, 53%, 34%)
HSVhsv(119, 70%, 52%)
CMYKcmyk(68.9%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.42, -45.23, 40.37)
CIE-LCHlch(48.42, 60.63, 138.25°)
OKLaboklab(54.04% -0.1229 0.0928)
OKLCHoklch(54.04% 0.154 142.9)
XYZxyz(9.5482, 17.1262, 4.8096)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298428 #832884
analogous
#578428 #298428 #288455
triadic
#298428 #282984 #842829
tetradic
#298428 #285784 #832884 #845528
square
#298428 #285784 #832884 #845528
split-complementary
#298428 #552884 #842857
monochromatic
#0C260C #1A551A #298428 #38B336 #5BCD5A

Accessibility & contrast

On white

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

On black

4.43
#298428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##298428#FFFFFF#000000##FFFFFF
##2984281.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#138071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298428;
/* rgb */ color: rgb(41, 132, 40);
/* oklch */ color: oklch(54.0% 0.154 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a967',
    500: '#298428',
    950: '#000000',
  },
}
SCSS
$custom: #298428;
$custom-light: #70a967;
$custom-dark: #000000;
JSON
{
  "hex": "#298428",
  "rgb": {
    "r": 41,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 119.348,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.154,
    "h": 142.9
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#298428
secondary
#B156B2
accent
#4BDDDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #298428

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

Preview Lab → · Contrast checker → · Palette generator →

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