#298D2A#298D2A

#298D2A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.164 H 143.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#298D2A
RGBrgb(41, 141, 42)
HSLhsl(121, 55%, 36%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(70.9%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.48, -48.27, 42.79)
CIE-LCHlch(51.48, 64.50, 138.45°)
OKLaboklab(56.58% -0.131 0.0982)
OKLCHoklch(56.58% 0.164 143.2)
XYZxyz(10.8566, 19.6872, 5.4179)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D2A #8D298C
analogous
#5A8D29 #298D2A #298D5C
triadic
#298D2A #2A298D #8D2A29
tetradic
#298D2A #295A8D #8D298C #8D5C29
square
#298D2A #295A8D #8D298C #8D5C29
split-complementary
#298D2A #5C298D #8D295A
monochromatic
#0D2E0E #1B5E1C #298D2A #37BC38 #60D161

Accessibility & contrast

On white

4.25
#298D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#298D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298D2A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298D2A#FFFFFF#000000##000000
##298D2A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#847833
Tritanopia (blue-blind)
#0B8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298d2a;
/* rgb */ color: rgb(41, 141, 42);
/* oklch */ color: oklch(56.6% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#72af69',
    500: '#298d2a',
    950: '#000000',
  },
}
SCSS
$custom: #298d2a;
$custom-light: #72af69;
$custom-dark: #000000;
JSON
{
  "hex": "#298d2a",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 120.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.1637,
    "h": 143.2
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#298D2A
secondary
#B65BB5
accent
#4ADDDE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#298D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva