#298422#298422

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

Color values

HEX#298422
RGBrgb(41, 132, 34)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 52%)
CMYKcmyk(68.9%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.37, -45.80, 42.81)
CIE-LCHlch(48.37, 62.69, 136.93°)
OKLaboklab(53.98% -0.1247 0.0972)
OKLCHoklch(53.98% 0.158 142.1)
XYZxyz(9.4539, 17.0885, 4.3132)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298422 #7D2284
analogous
#5A8422 #298422 #22844C
triadic
#298422 #222984 #842229
tetradic
#298422 #225A84 #7D2284 #844C22
square
#298422 #225A84 #7D2284 #844C22
split-complementary
#298422 #4C2284 #84225A
monochromatic
#0B2309 #1A5315 #298422 #38B52F #58D24F

Accessibility & contrast

On white

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

On black

4.42
#298422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##298422#FFFFFF#000000##FFFFFF
##2984221.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#158071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298422;
/* rgb */ color: rgb(41, 132, 34);
/* oklch */ color: oklch(54.0% 0.158 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a964',
    500: '#298422',
    950: '#000000',
  },
}
SCSS
$custom: #298422;
$custom-light: #70a964;
$custom-dark: #000000;
JSON
{
  "hex": "#298422",
  "rgb": {
    "r": 41,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 115.714,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.15811,
    "h": 142.1
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

primary
#298422
secondary
#AE4DB5
accent
#46E2D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #298422

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

Preview Lab → · Contrast checker → · Palette generator →

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