#298D18#298D18

#298D18 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.174 H 141.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#298D18
RGBrgb(41, 141, 24)
HSLhsl(111, 71%, 32%)
HSVhsv(111, 83%, 55%)
CMYKcmyk(70.9%, 0%, 83%, 44.7%)
CIE-LABlab(51.37, -49.67, 49.19)
CIE-LCHlch(51.37, 69.91, 135.28°)
OKLaboklab(56.45% -0.1357 0.1091)
OKLCHoklch(56.45% 0.174 141.2)
XYZxyz(10.6036, 19.5860, 4.0856)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D18 #7C188D
analogous
#648D18 #298D18 #188D42
triadic
#298D18 #18298D #8D1829
tetradic
#298D18 #18648D #7C188D #8D4218
square
#298D18 #18648D #7C188D #8D4218
split-complementary
#298D18 #42188D #8D1864
monochromatic
#0B2406 #1A590F #298D18 #38C121 #58DF41

Accessibility & contrast

On white

4.27
#298D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#298D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298D18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298D18#FFFFFF#000000##000000
##298D181.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#118878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d18;
/* rgb */ color: rgb(41, 141, 24);
/* oklch */ color: oklch(56.4% 0.174 141.2);
Tailwind
colors: {
  custom: {
    50: '#73af60',
    500: '#298d18',
    950: '#000000',
  },
}
SCSS
$custom: #298d18;
$custom-light: #73af60;
$custom-dark: #000000;
JSON
{
  "hex": "#298d18",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 111.282,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.1741,
    "h": 141.2
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#298D18
secondary
#AD42BF
accent
#3AEED4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298D18

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

Preview Lab → · Contrast checker → · Palette generator →

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