#298D2E#298D2E

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

Color values

HEX#298D2E
RGBrgb(41, 141, 46)
HSLhsl(123, 55%, 36%)
HSVhsv(123, 71%, 55%)
CMYKcmyk(70.9%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.52, -47.86, 41.09)
CIE-LCHlch(51.52, 63.08, 139.35°)
OKLaboklab(56.62% -0.1297 0.0951)
OKLCHoklch(56.62% 0.161 143.8)
XYZxyz(10.9318, 19.7172, 5.8139)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D2E #8D2988
analogous
#568D29 #298D2E #298D60
triadic
#298D2E #2E298D #8D2E29
tetradic
#298D2E #29568D #8D2988 #8D6029
square
#298D2E #29568D #8D2988 #8D6029
split-complementary
#298D2E #60298D #8D2956
monochromatic
#0D2E0F #1B5E1F #298D2E #37BC3D #60D165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D2E#FFFFFF#000000##000000
##298D2E1.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)
#908022
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#088979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298d2e;
/* rgb */ color: rgb(41, 141, 46);
/* oklch */ color: oklch(56.6% 0.161 143.8);
Tailwind
colors: {
  custom: {
    50: '#72af6b',
    500: '#298d2e',
    950: '#000000',
  },
}
SCSS
$custom: #298d2e;
$custom-light: #72af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#298d2e",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 123,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.16081,
    "h": 143.8
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#298D2E
secondary
#B65BB2
accent
#4AD7DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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